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.0013/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001352/0.001352, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.054/1.054, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.16 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1992, allocations: 81.02 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.3411/0.5404, allocations: 20.61 MB / 0.6046 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005515/0.546, allocations: 4.921 MB / 0.6094 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.5466, allocations: 15.83 kB / 0.6094 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007313/0.5474, allocations: 233.7 kB / 0.6097 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.5491, allocations: 0.7618 MB / 0.6104 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.5508, allocations: 0.6393 MB / 0.611 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.5522, allocations: 1.379 MB / 0.6124 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.5526, allocations: 432.2 kB / 0.6128 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.5534, allocations: 0.5717 MB / 0.6134 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.5538, allocations: 462.1 kB / 0.6138 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.5539, allocations: 43.03 kB / 0.6138 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009808/0.5548, allocations: 0.6447 MB / 0.6145 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.555, allocations: 119.3 kB / 0.6146 GB, free: 35.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.5552, allocations: 288.9 kB / 0.6149 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008342/0.556, allocations: 0.8397 MB / 0.6157 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.556, allocations: 4.469 kB / 0.6157 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.556, allocations: 0 / 0.6157 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.5561, allocations: 0 / 0.6157 GB, free: 34.95 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.001313/0.5574, allocations: 0.9293 MB / 0.6166 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5574, allocations: 10.69 kB / 0.6166 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.5576, allocations: 64.06 kB / 0.6167 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.5581, allocations: 449.6 kB / 0.6171 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.5581, allocations: 33.91 kB / 0.6171 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.5582, allocations: 35.28 kB / 0.6171 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.5588, allocations: 306.1 kB / 0.6174 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5588, allocations: 7.734 kB / 0.6174 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.5588, allocations: 13.28 kB / 0.6175 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.5588, allocations: 6.312 kB / 0.6175 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.5594, allocations: 263.9 kB / 0.6177 GB, free: 33.98 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.001765/0.5611, allocations: 1.336 MB / 0.619 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.5616, allocations: 256.6 kB / 0.6193 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.5618, allocations: 142.9 kB / 0.6194 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003813/0.5622, allocations: 0.4988 MB / 0.6199 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.5623, allocations: 35.81 kB / 0.6199 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.5623, allocations: 0 / 0.6199 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001544/0.5638, allocations: 0.5707 MB / 0.6205 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.5638, allocations: 54.19 kB / 0.6205 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.5642, allocations: 465.7 kB / 0.621 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.5643, allocations: 36.64 kB / 0.621 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5644, allocations: 233.8 kB / 0.6212 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.096e-05/0.5644, allocations: 85.28 kB / 0.6213 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.5646, allocations: 83.94 kB / 0.6214 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/0.5646, allocations: 359.3 kB / 0.6217 GB, free: 31.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.5649, allocations: 117.9 kB / 0.6219 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.5652, allocations: 183.5 kB / 0.622 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.5657, allocations: 270.8 kB / 0.6223 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5657, allocations: 3.094 kB / 0.6223 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00135/0.5671, allocations: 493.5 kB / 0.6228 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5671, allocations: 2.812 kB / 0.6228 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5671, allocations: 10.53 kB / 0.6228 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.5675, allocations: 53.22 kB / 0.6228 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.5678, allocations: 73.8 kB / 0.6229 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003054/0.5681, allocations: 0.568 MB / 0.6234 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.5686, allocations: 57.53 kB / 0.6235 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.5686, allocations: 19.33 kB / 0.6235 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003484/0.569, allocations: 247 kB / 0.6238 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002783/0.5693, allocations: 170.6 kB / 0.6239 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004685/0.5697, allocations: 262.6 kB / 0.6242 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.5698, allocations: 0 / 0.6242 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006333/0.5704, allocations: 373.4 kB / 0.6245 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-06/0.5704, allocations: 5.656 kB / 0.6245 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.5704, allocations: 2.469 kB / 0.6245 GB, free: 29.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.668e-06/0.5704, allocations: 7.062 kB / 0.6245 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.5708, allocations: 82.42 kB / 0.6246 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.5708, allocations: 0 / 0.6246 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.5712, allocations: 57.75 kB / 0.6247 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5712, allocations: 18.38 kB / 0.6247 GB, free: 29.93 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.0001003/0.5713, allocations: 197.7 kB / 0.6249 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.5714, allocations: 49.22 kB / 0.6249 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008018/0.5722, allocations: 419.3 kB / 0.6253 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.5723, allocations: 10.16 kB / 0.6253 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5723, allocations: 0 / 0.6253 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5723, allocations: 0 / 0.6253 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.5735, allocations: 0.9553 MB / 0.6263 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5735, allocations: 3.875 kB / 0.6263 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.5737, allocations: 53.98 kB / 0.6263 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.5739, allocations: 43.27 kB / 0.6264 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.5739, allocations: 6.938 kB / 0.6264 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002291/0.5742, allocations: 0.5576 MB / 0.6269 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5742, allocations: 0 / 0.6269 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.5749, allocations: 494.8 kB / 0.6274 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.575, allocations: 160.1 kB / 0.6275 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.5751, allocations: 7.219 kB / 0.6275 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.5754, allocations: 34.7 kB / 0.6276 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.5755, allocations: 27.11 kB / 0.6276 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.5755, allocations: 6.156 kB / 0.6276 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002701/0.5758, allocations: 331.6 kB / 0.6279 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5758, allocations: 3.938 kB / 0.6279 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006863/0.5765, allocations: 256.1 kB / 0.6282 GB, free: 27.75 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.0004951/0.577, allocations: 240.4 kB / 0.6284 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.5781, allocations: 488 kB / 0.6289 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5781, allocations: 3.094 kB / 0.6289 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.5785, allocations: 167 kB / 0.629 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5795, allocations: 228.7 kB / 0.6293 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.5807, allocations: 1.005 MB / 0.6302 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.581, allocations: 0.8513 MB / 0.6311 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003891/0.5814, allocations: 119.7 kB / 0.6312 GB, free: 26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.5815, allocations: 44.66 kB / 0.6312 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.5815, allocations: 0 / 0.6312 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.0176/0.5991, allocations: 9.965 MB / 0.641 GB, free: 25.21 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)