Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001055/0.001055, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001059/0.001059, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8067/0.8067, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.439, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01936/0.4584, allocations: 20.75 MB / 0.6018 GB, free: 9.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00761/0.4661, allocations: 4.945 MB / 0.6066 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000913/0.467, allocations: 15.88 kB / 0.6066 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.4679, allocations: 278 kB / 0.6069 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.4707, allocations: 0.8149 MB / 0.6077 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.473, allocations: 0.715 MB / 0.6084 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.4748, allocations: 1.39 MB / 0.6097 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004931/0.4753, allocations: 441.2 kB / 0.6101 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000755/0.4761, allocations: 0.5759 MB / 0.6107 GB, free: 316 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.4767, allocations: 446.2 kB / 0.6111 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.4768, allocations: 36 kB / 0.6112 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.4782, allocations: 0.6354 MB / 0.6118 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.4784, allocations: 115.5 kB / 0.6119 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.4787, allocations: 294.5 kB / 0.6122 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.48, allocations: 0.8488 MB / 0.613 GB, free: 13.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4801, allocations: 0 / 0.613 GB, free: 13.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4801, allocations: 0 / 0.613 GB, free: 13.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.4801, allocations: 0 / 0.613 GB, free: 13.95 MB / 462.1 MB 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.001852/0.482, allocations: 0.9265 MB / 0.6139 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.482, allocations: 12.03 kB / 0.6139 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.4822, allocations: 68.19 kB / 0.614 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.4829, allocations: 482.7 kB / 0.6144 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.4829, allocations: 20.66 kB / 0.6145 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.4831, allocations: 36 kB / 0.6145 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/0.4837, allocations: 306 kB / 0.6148 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4837, allocations: 3.984 kB / 0.6148 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.4838, allocations: 15.94 kB / 0.6148 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.4838, allocations: 8 kB / 0.6148 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.4844, allocations: 266.4 kB / 0.6151 GB, free: 11.73 MB / 462.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.002199/0.4866, allocations: 1.333 MB / 0.6164 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.4872, allocations: 254.5 kB / 0.6166 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.4875, allocations: 136.8 kB / 0.6167 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006778/0.4882, allocations: 0.4908 MB / 0.6172 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4883, allocations: 38.56 kB / 0.6173 GB, free: 9.234 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.4883, allocations: 3.938 kB / 0.6173 GB, free: 9.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001698/0.49, allocations: 0.5556 MB / 0.6178 GB, free: 8.648 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.49, allocations: 59.41 kB / 0.6179 GB, free: 8.578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/0.4907, allocations: 474 kB / 0.6183 GB, free: 8.105 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.4907, allocations: 33.7 kB / 0.6183 GB, free: 8.066 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.4909, allocations: 240.5 kB / 0.6186 GB, free: 7.828 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.491, allocations: 86.69 kB / 0.6187 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.4912, allocations: 77.67 kB / 0.6187 GB, free: 7.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.4915, allocations: 358.8 kB / 0.6191 GB, free: 7.301 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.4918, allocations: 120.8 kB / 0.6192 GB, free: 7.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.4922, allocations: 185 kB / 0.6194 GB, free: 6.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.4928, allocations: 278.4 kB / 0.6196 GB, free: 6.703 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4928, allocations: 0 / 0.6196 GB, free: 6.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001449/0.4942, allocations: 494.3 kB / 0.6201 GB, free: 6.211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4943, allocations: 10.5 kB / 0.6201 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4943, allocations: 0 / 0.6201 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.4946, allocations: 64.84 kB / 0.6202 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.495, allocations: 67.89 kB / 0.6202 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004556/0.4955, allocations: 0.564 MB / 0.6208 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.4959, allocations: 43.7 kB / 0.6208 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.4959, allocations: 24.05 kB / 0.6209 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004075/0.4964, allocations: 236 kB / 0.6211 GB, free: 5.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003248/0.4967, allocations: 178.4 kB / 0.6212 GB, free: 4.988 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005422/0.4972, allocations: 257.6 kB / 0.6215 GB, free: 4.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.4973, allocations: 0 / 0.6215 GB, free: 4.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007941/0.4981, allocations: 370.2 kB / 0.6218 GB, free: 4.363 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4981, allocations: 7.984 kB / 0.6219 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.4981, allocations: 7.938 kB / 0.6219 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/0.4981, allocations: 4 kB / 0.6219 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.4985, allocations: 75.89 kB / 0.6219 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4985, allocations: 4 kB / 0.6219 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.4989, allocations: 43.8 kB / 0.622 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.4989, allocations: 15.98 kB / 0.622 GB, free: 4.207 MB / 462.1 MB 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.0001425/0.4991, allocations: 200.1 kB / 0.6222 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.759e-05/0.4992, allocations: 55.28 kB / 0.6222 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.5, allocations: 422.8 kB / 0.6226 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.5001, allocations: 4 kB / 0.6226 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5001, allocations: 3.984 kB / 0.6227 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5001, allocations: 0 / 0.6227 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.5016, allocations: 0.9511 MB / 0.6236 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5017, allocations: 4 kB / 0.6236 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.5019, allocations: 51.89 kB / 0.6236 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001575/0.5021, allocations: 36.97 kB / 0.6237 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.5021, allocations: 15.98 kB / 0.6237 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004587/0.5026, allocations: 0.5601 MB / 0.6242 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5026, allocations: 0 / 0.6242 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.5034, allocations: 499.9 kB / 0.6247 GB, free: 1.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.5036, allocations: 160.3 kB / 0.6249 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.5037, allocations: 7.938 kB / 0.6249 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.504, allocations: 31.91 kB / 0.6249 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.5041, allocations: 20.11 kB / 0.6249 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.5041, allocations: 16 kB / 0.6249 GB, free: 1.031 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004041/0.5045, allocations: 318.9 kB / 0.6252 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5045, allocations: 0 / 0.6252 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000736/0.5053, allocations: 247.6 kB / 0.6255 GB, free: 492 kB / 462.1 MB 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.0005805/0.5059, allocations: 252 kB / 0.6257 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.5071, allocations: 470.4 kB / 0.6262 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5071, allocations: 0 / 0.6262 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.5075, allocations: 168.1 kB / 0.6263 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009921/0.5085, allocations: 216.1 kB / 0.6265 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.5099, allocations: 0.8257 MB / 0.6273 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.5105, allocations: 0.8549 MB / 0.6282 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.5109, allocations: 116.3 kB / 0.6283 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.749e-05/0.511, allocations: 43.44 kB / 0.6283 GB, free: 13.5 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.511, allocations: 0 / 0.6283 GB, free: 13.5 MB / 478.1 MB Notification: Performance of Templates: time 0.01804/0.529, allocations: 10.12 MB / 0.6382 GB, free: 3.555 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)