Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001115, allocations: 117.8 kB / 16.42 MB, free: 6.48 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.001095/0.001096, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 62.5 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 80.21 MB / 0.6604 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4652/0.5942, allocations: 167.8 MB / 0.8242 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.598, allocations: 2.193 MB / 0.8263 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.5984, allocations: 18.66 kB / 0.8264 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.5992, allocations: 255.1 kB / 0.8266 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.6009, allocations: 0.7055 MB / 0.8273 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.6021, allocations: 427 kB / 0.8277 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002723/0.6048, allocations: 2.773 MB / 0.8304 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.6075, allocations: 2.561 MB / 0.8329 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.6096, allocations: 1.276 MB / 0.8342 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.6106, allocations: 0.865 MB / 0.835 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.6108, allocations: 77.25 kB / 0.8351 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.6123, allocations: 0.8254 MB / 0.8359 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.6127, allocations: 359.1 kB / 0.8362 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00065/0.6133, allocations: 0.6217 MB / 0.8368 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.615, allocations: 1.636 MB / 0.8384 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6151, allocations: 0 / 0.8384 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6151, allocations: 0 / 0.8384 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.6151, allocations: 0 / 0.8384 GB, free: 12.15 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002486/0.6176, allocations: 1.664 MB / 0.8401 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.6176, allocations: 6.844 kB / 0.8401 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.6184, allocations: 204.9 kB / 0.8403 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.6199, allocations: 0.937 MB / 0.8412 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.6199, allocations: 52.66 kB / 0.8412 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.62, allocations: 61.72 kB / 0.8413 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6214, allocations: 0.9865 MB / 0.8422 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.6214, allocations: 10.58 kB / 0.8422 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.6215, allocations: 26.06 kB / 0.8423 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.6215, allocations: 14.97 kB / 0.8423 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.6228, allocations: 0.7943 MB / 0.8431 GB, free: 8.965 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.004113/0.6269, allocations: 4.766 MB / 0.8477 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.6293, allocations: 4.014 MB / 0.8516 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.6298, allocations: 357.3 kB / 0.852 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002874/0.6301, allocations: 195.2 kB / 0.8522 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004904/0.6307, allocations: 330.3 kB / 0.8525 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002106/0.6309, allocations: 34.08 kB / 0.8525 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.6309, allocations: 0 / 0.8525 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.004523/0.6354, allocations: 1.581 MB / 0.8541 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.6355, allocations: 85.09 kB / 0.8541 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.6369, allocations: 1.188 MB / 0.8553 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.6369, allocations: 37.7 kB / 0.8553 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.6373, allocations: 0.5168 MB / 0.8558 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.6374, allocations: 134.9 kB / 0.856 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.6376, allocations: 118.2 kB / 0.8561 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6377, allocations: 330 kB / 0.8564 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.6381, allocations: 230.9 kB / 0.8566 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.6388, allocations: 0.5652 MB / 0.8572 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.6397, allocations: 0.6858 MB / 0.8578 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6397, allocations: 0 / 0.8578 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002189/0.6419, allocations: 1.107 MB / 0.8589 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.642, allocations: 37.7 kB / 0.859 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.642, allocations: 8 kB / 0.859 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.6432, allocations: 341.1 kB / 0.8593 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.6436, allocations: 91.86 kB / 0.8594 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009879/0.6446, allocations: 1.011 MB / 0.8604 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/0.6454, allocations: 67.91 kB / 0.8604 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.6454, allocations: 35.98 kB / 0.8605 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007063/0.6462, allocations: 0.5204 MB / 0.861 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005766/0.6467, allocations: 0.5176 MB / 0.8615 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009969/0.6477, allocations: 0.5993 MB / 0.8621 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-05/0.6478, allocations: 4 kB / 0.8621 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001581/0.6494, allocations: 0.9007 MB / 0.8629 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.6494, allocations: 37.64 kB / 0.863 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.6494, allocations: 4 kB / 0.863 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.6499, allocations: 225.2 kB / 0.8632 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.6503, allocations: 95.8 kB / 0.8633 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.6538, allocations: 3.162 MB / 0.8664 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.6546, allocations: 75.98 kB / 0.8664 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.6546, allocations: 23.98 kB / 0.8665 GB, free: 0.7852 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.6548, allocations: 224 kB / 0.8667 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.655, allocations: 111.3 kB / 0.8668 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.6563, allocations: 0.7775 MB / 0.8676 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6564, allocations: 0 / 0.8676 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6564, allocations: 0 / 0.8676 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.6567, allocations: 228.3 kB / 0.8678 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6568, allocations: 12 kB / 0.8678 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.6573, allocations: 43.88 kB / 0.8678 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.6575, allocations: 47.92 kB / 0.8679 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001519/0.659, allocations: 0.84 MB / 0.8687 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001282/0.6603, allocations: 1.014 MB / 0.8697 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003467/0.6606, allocations: 204.3 kB / 0.8699 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001035/0.6617, allocations: 0.8365 MB / 0.8707 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of Backend: time 5.01e-07/0.6617, allocations: 0 / 0.8707 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.6644, allocations: 1.229 MB / 0.8719 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of SimCode: time 0.003955/0.6684, allocations: 2.787 MB / 0.8746 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of Templates: time 0.03306/0.7015, allocations: 22 MB / 0.8961 GB, free: 2.539 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)