Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 110.1 kB / 16.41 MB, free: 6.5 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.001327/0.001327, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.201/1.201, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7297/0.7297, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 66.78 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1167, allocations: 80.92 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4173/0.534, allocations: 161.6 MB / 0.8231 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.5364, allocations: 1.756 MB / 0.8249 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.5366, allocations: 12.91 kB / 0.8249 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.537, allocations: 171.7 kB / 0.825 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009377/0.538, allocations: 0.546 MB / 0.8256 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000795/0.5388, allocations: 385.9 kB / 0.8259 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002012/0.5408, allocations: 2.53 MB / 0.8284 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.5417, allocations: 0.9335 MB / 0.8293 GB, free: 488 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5429, allocations: 1.045 MB / 0.8303 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008143/0.5437, allocations: 0.7074 MB / 0.831 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.5439, allocations: 55.56 kB / 0.8311 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.545, allocations: 0.7428 MB / 0.8318 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.5453, allocations: 296.6 kB / 0.8321 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005472/0.5458, allocations: 0.545 MB / 0.8326 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.5471, allocations: 1.407 MB / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5471, allocations: 6.594 kB / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5471, allocations: 0 / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.5472, allocations: 0 / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002023/0.5492, allocations: 1.452 MB / 0.8354 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5492, allocations: 8.891 kB / 0.8354 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/0.5499, allocations: 184.5 kB / 0.8356 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5511, allocations: 0.8545 MB / 0.8364 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.5512, allocations: 42.06 kB / 0.8365 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.5512, allocations: 58.66 kB / 0.8365 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009806/0.5522, allocations: 0.793 MB / 0.8373 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5522, allocations: 6.812 kB / 0.8373 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.5523, allocations: 24.86 kB / 0.8373 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5523, allocations: 12.69 kB / 0.8373 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.5531, allocations: 0.5383 MB / 0.8379 GB, free: 11.03 MB / 0.6075 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.003335/0.5564, allocations: 4.587 MB / 0.8424 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.5571, allocations: 412.5 kB / 0.8427 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.5574, allocations: 246.7 kB / 0.843 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.5576, allocations: 199.4 kB / 0.8432 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.5581, allocations: 294.8 kB / 0.8435 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.5581, allocations: 0 / 0.8435 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001144/0.5592, allocations: 0.6377 MB / 0.8441 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5593, allocations: 86.8 kB / 0.8442 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.5604, allocations: 1.114 MB / 0.8452 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.5604, allocations: 36.39 kB / 0.8453 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.5607, allocations: 490.5 kB / 0.8457 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.5608, allocations: 107.5 kB / 0.8458 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.561, allocations: 119.2 kB / 0.846 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.5611, allocations: 330.6 kB / 0.8463 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.5614, allocations: 214.5 kB / 0.8465 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.562, allocations: 0.5163 MB / 0.847 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.5627, allocations: 0.6265 MB / 0.8476 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5627, allocations: 2.531 kB / 0.8476 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001021/0.5638, allocations: 0.7263 MB / 0.8483 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.5638, allocations: 37.45 kB / 0.8483 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.5638, allocations: 13.22 kB / 0.8484 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5638, allocations: 7.5 kB / 0.8484 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.5656, allocations: 346.8 kB / 0.8487 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/0.5686, allocations: 6.09 MB / 0.8546 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.5692, allocations: 67.5 kB / 0.8547 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.5692, allocations: 27.98 kB / 0.8547 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006265/0.5699, allocations: 0.4928 MB / 0.8552 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004867/0.5704, allocations: 490 kB / 0.8557 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006903/0.5711, allocations: 0.5646 MB / 0.8562 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/0.5711, allocations: 4 kB / 0.8562 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009268/0.572, allocations: 0.6502 MB / 0.8569 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.572, allocations: 37.7 kB / 0.8569 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.572, allocations: 8 kB / 0.8569 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.5721, allocations: 8 kB / 0.8569 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.5726, allocations: 151.8 kB / 0.8571 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5726, allocations: 12.06 kB / 0.8571 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.5731, allocations: 56.12 kB / 0.8571 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.5732, allocations: 24 kB / 0.8572 GB, free: 9.488 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.5733, allocations: 224 kB / 0.8574 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5734, allocations: 98.78 kB / 0.8575 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008063/0.5743, allocations: 0.4911 MB / 0.8579 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5743, allocations: 3.984 kB / 0.8579 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5743, allocations: 0 / 0.8579 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002887/0.5746, allocations: 211.8 kB / 0.8581 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5747, allocations: 8 kB / 0.8582 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.575, allocations: 19.97 kB / 0.8582 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.5751, allocations: 27.91 kB / 0.8582 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001405/0.5765, allocations: 0.7696 MB / 0.859 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001067/0.5776, allocations: 0.9197 MB / 0.8599 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002883/0.5779, allocations: 187.8 kB / 0.86 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008297/0.5787, allocations: 0.7836 MB / 0.8608 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of Backend: time 4.51e-07/0.5787, allocations: 0 / 0.8608 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003379/0.5821, allocations: 1.173 MB / 0.8619 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003285/0.5854, allocations: 2.582 MB / 0.8645 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of Templates: time 0.02651/0.6119, allocations: 19.42 MB / 0.8834 GB, free: 14.59 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)