Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 103.3 kB / 16.27 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 189.3 kB / 17.19 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8503/0.8503, allocations: 132.2 MB / 423.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4874, allocations: 80.18 MB / 0.5807 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01331/0.5007, allocations: 14.45 MB / 0.5948 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.5051, allocations: 3.634 MB / 0.5984 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005416/0.5057, allocations: 19.88 kB / 0.5984 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.5063, allocations: 203.7 kB / 0.5986 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.5075, allocations: 0.59 MB / 0.5992 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.5083, allocations: 384.7 kB / 0.5995 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009041/0.5092, allocations: 1.084 MB / 0.6006 GB, free: 9.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.5096, allocations: 329.2 kB / 0.6009 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.5104, allocations: 384.1 kB / 0.6013 GB, free: 9.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.5108, allocations: 310.6 kB / 0.6016 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.5108, allocations: 32 kB / 0.6016 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.5113, allocations: 255.5 kB / 0.6018 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.5114, allocations: 96.67 kB / 0.6019 GB, free: 8.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.5116, allocations: 211 kB / 0.6021 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.5122, allocations: 0.5861 MB / 0.6027 GB, free: 7.691 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5122, allocations: 1.844 kB / 0.6027 GB, free: 7.691 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5122, allocations: 0 / 0.6027 GB, free: 7.691 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.5122, allocations: 0 / 0.6027 GB, free: 7.691 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.000919/0.5132, allocations: 0.7472 MB / 0.6034 GB, free: 6.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.5132, allocations: 12.03 kB / 0.6035 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.5134, allocations: 49.48 kB / 0.6035 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.5139, allocations: 451 kB / 0.6039 GB, free: 6.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.514, allocations: 21.06 kB / 0.604 GB, free: 6.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.514, allocations: 28.52 kB / 0.604 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.5145, allocations: 306.2 kB / 0.6043 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5145, allocations: 0 / 0.6043 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.5146, allocations: 15.94 kB / 0.6043 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5146, allocations: 15.92 kB / 0.6043 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.515, allocations: 194.6 kB / 0.6045 GB, free: 5.77 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.5164, allocations: 1.493 MB / 0.6059 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.5168, allocations: 152.1 kB / 0.6061 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.517, allocations: 78.56 kB / 0.6062 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.5171, allocations: 81.11 kB / 0.6062 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.5174, allocations: 136 kB / 0.6064 GB, free: 3.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.5174, allocations: 0 / 0.6064 GB, free: 3.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005764/0.518, allocations: 226.3 kB / 0.6066 GB, free: 3.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.518, allocations: 60.05 kB / 0.6066 GB, free: 3.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.5183, allocations: 355.1 kB / 0.607 GB, free: 3.031 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5183, allocations: 29.7 kB / 0.607 GB, free: 2.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.5185, allocations: 219.7 kB / 0.6072 GB, free: 2.777 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.5185, allocations: 51.34 kB / 0.6073 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.321e-05/0.5186, allocations: 58.3 kB / 0.6073 GB, free: 2.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.5187, allocations: 339.7 kB / 0.6077 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.5188, allocations: 72.94 kB / 0.6077 GB, free: 2.254 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.519, allocations: 148.3 kB / 0.6079 GB, free: 2.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.5194, allocations: 242.9 kB / 0.6081 GB, free: 1.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5194, allocations: 2.906 kB / 0.6081 GB, free: 1.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004968/0.5199, allocations: 313.8 kB / 0.6084 GB, free: 1.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.52, allocations: 40.14 kB / 0.6084 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.52, allocations: 4 kB / 0.6084 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.52, allocations: 7.531 kB / 0.6084 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5202, allocations: 51.91 kB / 0.6085 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5202, allocations: 4 kB / 0.6085 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.5205, allocations: 43.61 kB / 0.6085 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.5205, allocations: 12 kB / 0.6086 GB, free: 1.332 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.5206, allocations: 158.1 kB / 0.6087 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.5207, allocations: 39.56 kB / 0.6087 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.5211, allocations: 192.5 kB / 0.6089 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5211, allocations: 0 / 0.6089 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5211, allocations: 0 / 0.6089 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000369/0.5215, allocations: 486.5 kB / 0.6094 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.5219, allocations: 361.3 kB / 0.6097 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5219, allocations: 3.938 kB / 0.6097 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.5221, allocations: 35.97 kB / 0.6098 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5221, allocations: 3.938 kB / 0.6098 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.5221, allocations: 4 kB / 0.6098 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5221, allocations: 0 / 0.6098 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5221, allocations: 4 kB / 0.6098 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.5228, allocations: 276.6 kB / 0.61 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.5229, allocations: 136.6 kB / 0.6102 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.523, allocations: 3.938 kB / 0.6102 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.5232, allocations: 19.98 kB / 0.6102 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.5233, allocations: 19.91 kB / 0.6102 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.5233, allocations: 8 kB / 0.6102 GB, free: 15.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.5236, allocations: 247.2 kB / 0.6105 GB, free: 15.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5236, allocations: 0 / 0.6105 GB, free: 15.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.5241, allocations: 124.1 kB / 0.6106 GB, free: 15.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003598/0.5244, allocations: 199.2 kB / 0.6108 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000533/0.525, allocations: 243 kB / 0.611 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.525, allocations: 0 / 0.611 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.5252, allocations: 60.59 kB / 0.6111 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009735/0.5261, allocations: 218.4 kB / 0.6113 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5276, allocations: 0.7793 MB / 0.612 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.528, allocations: 0.7879 MB / 0.6128 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.578e-05/0.5281, allocations: 39.42 kB / 0.6128 GB, free: 12.68 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5281, allocations: 0 / 0.6128 GB, free: 12.68 MB / 462.1 MB Notification: Performance of Templates: time 0.009615/0.5378, allocations: 6.157 MB / 0.6189 GB, free: 6.586 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)