Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006019/0.00602, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001173/0.001173, allocations: 190 kB / 16.79 MB, free: 5.812 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 61.41 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1851, allocations: 80.92 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02046/0.2057, allocations: 20.65 MB / 0.6045 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3334/0.5391, allocations: 4.974 MB / 0.6094 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007852/0.54, allocations: 16.94 kB / 0.6094 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.5409, allocations: 221.9 kB / 0.6096 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.5432, allocations: 0.7533 MB / 0.6103 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.5452, allocations: 0.6323 MB / 0.6109 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.5472, allocations: 1.811 MB / 0.6127 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.5477, allocations: 388.4 kB / 0.6131 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009621/0.5487, allocations: 0.5112 MB / 0.6136 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.5493, allocations: 461 kB / 0.614 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.5494, allocations: 25.44 kB / 0.614 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.5507, allocations: 0.6012 MB / 0.6146 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.5509, allocations: 109.8 kB / 0.6147 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.5512, allocations: 283 kB / 0.615 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.5519, allocations: 0.5757 MB / 0.6156 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5519, allocations: 0 / 0.6156 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5519, allocations: 0 / 0.6156 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.5519, allocations: 6.719 kB / 0.6156 GB, free: 35.14 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001503/0.5534, allocations: 0.9287 MB / 0.6165 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.5535, allocations: 8.75 kB / 0.6165 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.5536, allocations: 67.5 kB / 0.6166 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.5542, allocations: 455.9 kB / 0.617 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.5542, allocations: 28.8 kB / 0.617 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.5542, allocations: 36.84 kB / 0.6171 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.5549, allocations: 304.6 kB / 0.6173 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5549, allocations: 0 / 0.6173 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.555, allocations: 12.78 kB / 0.6174 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.555, allocations: 6.406 kB / 0.6174 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.5556, allocations: 264.9 kB / 0.6176 GB, free: 34.19 MB / 0.4981 GB 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.001923/0.5575, allocations: 1.339 MB / 0.6189 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.558, allocations: 260.6 kB / 0.6192 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.5583, allocations: 135.3 kB / 0.6193 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.5587, allocations: 0.4936 MB / 0.6198 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.5587, allocations: 35.81 kB / 0.6198 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 2.465e-06/0.5587, allocations: 0 / 0.6198 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001637/0.5604, allocations: 0.5663 MB / 0.6204 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.5604, allocations: 54.53 kB / 0.6204 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.5609, allocations: 465.5 kB / 0.6209 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.5609, allocations: 33.3 kB / 0.6209 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.5611, allocations: 251 kB / 0.6211 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.5611, allocations: 77.36 kB / 0.6212 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.5612, allocations: 82.16 kB / 0.6213 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.5613, allocations: 358.7 kB / 0.6216 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.5616, allocations: 117.5 kB / 0.6217 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.5619, allocations: 187.5 kB / 0.6219 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.5625, allocations: 265.1 kB / 0.6222 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5625, allocations: 0 / 0.6222 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001469/0.564, allocations: 0.4911 MB / 0.6227 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.564, allocations: 12.52 kB / 0.6227 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.564, allocations: 0 / 0.6227 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/0.5644, allocations: 48.97 kB / 0.6227 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.5647, allocations: 69.92 kB / 0.6228 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003247/0.5651, allocations: 0.5631 MB / 0.6233 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.5656, allocations: 68.95 kB / 0.6234 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.5656, allocations: 18.52 kB / 0.6234 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003869/0.566, allocations: 239.5 kB / 0.6236 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003054/0.5664, allocations: 173.9 kB / 0.6238 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005135/0.5669, allocations: 263.1 kB / 0.6241 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/0.5669, allocations: 4.828 kB / 0.6241 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007074/0.5676, allocations: 370.6 kB / 0.6244 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.5676, allocations: 5.75 kB / 0.6244 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.5676, allocations: 1.062 kB / 0.6244 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.5676, allocations: 10.94 kB / 0.6244 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.568, allocations: 80 kB / 0.6245 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.568, allocations: 3.094 kB / 0.6245 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.5685, allocations: 59.11 kB / 0.6246 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.5685, allocations: 15.94 kB / 0.6246 GB, free: 30.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.5687, allocations: 198.6 kB / 0.6248 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.016e-05/0.5688, allocations: 49.94 kB / 0.6248 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008781/0.5696, allocations: 419.9 kB / 0.6252 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5697, allocations: 10.27 kB / 0.6252 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5697, allocations: 7.094 kB / 0.6252 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5697, allocations: 0 / 0.6252 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.571, allocations: 0.9389 MB / 0.6262 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.571, allocations: 8.062 kB / 0.6262 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.5712, allocations: 56.06 kB / 0.6262 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.5714, allocations: 35.91 kB / 0.6263 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.5715, allocations: 9.688 kB / 0.6263 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000277/0.5718, allocations: 0.5583 MB / 0.6268 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5718, allocations: 7 kB / 0.6268 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.5725, allocations: 489.8 kB / 0.6273 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.5726, allocations: 155.4 kB / 0.6274 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.5727, allocations: 10.7 kB / 0.6274 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.5731, allocations: 37.2 kB / 0.6275 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.5732, allocations: 32.02 kB / 0.6275 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.5732, allocations: 13.62 kB / 0.6275 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002958/0.5735, allocations: 321.6 kB / 0.6278 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5735, allocations: 0 / 0.6278 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000754/0.5742, allocations: 262.8 kB / 0.6281 GB, free: 28.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005323/0.5748, allocations: 243.7 kB / 0.6283 GB, free: 28.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.5759, allocations: 461.6 kB / 0.6287 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5759, allocations: 0 / 0.6287 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.5763, allocations: 165.5 kB / 0.6289 GB, free: 27.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.5776, allocations: 259.5 kB / 0.6292 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.579, allocations: 1.032 MB / 0.6302 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.5793, allocations: 0.856 MB / 0.631 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.5794, allocations: 44.78 kB / 0.631 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of SimCode: time 4.7e-07/0.5794, allocations: 0 / 0.631 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01506/0.5945, allocations: 10.28 MB / 0.6411 GB, free: 25.32 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)