Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 112.3 kB / 16.42 MB, free: 6.527 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.001137/0.001137, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.2 MB / 423.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.69 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 80.2 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4507/0.5849, allocations: 161.6 MB / 0.8182 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00391/0.5888, allocations: 1.759 MB / 0.8199 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.5892, allocations: 15.34 kB / 0.8199 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.59, allocations: 165.5 kB / 0.8201 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.5917, allocations: 0.5421 MB / 0.8206 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.5931, allocations: 400 kB / 0.821 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.5966, allocations: 2.526 MB / 0.8235 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.5982, allocations: 0.9356 MB / 0.8244 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.6004, allocations: 1.042 MB / 0.8254 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.6014, allocations: 0.7066 MB / 0.8261 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.6015, allocations: 59.09 kB / 0.8261 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.6029, allocations: 0.739 MB / 0.8269 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.6032, allocations: 317.2 kB / 0.8272 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005476/0.6038, allocations: 0.541 MB / 0.8277 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.6058, allocations: 1.411 MB / 0.8291 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6058, allocations: 0 / 0.8291 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6058, allocations: 0 / 0.8291 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.6058, allocations: 0 / 0.8291 GB, free: 3.375 MB / 0.5919 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.002916/0.6088, allocations: 1.491 MB / 0.8305 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6088, allocations: 14.09 kB / 0.8305 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.61, allocations: 183.6 kB / 0.8307 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.6117, allocations: 0.8574 MB / 0.8315 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.6118, allocations: 46.06 kB / 0.8316 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.6119, allocations: 58.62 kB / 0.8316 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.6135, allocations: 0.7888 MB / 0.8324 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.6135, allocations: 7 kB / 0.8324 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.6136, allocations: 20.81 kB / 0.8324 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.6136, allocations: 16.62 kB / 0.8325 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.615, allocations: 0.5379 MB / 0.833 GB, free: 0.6055 MB / 0.5919 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.005491/0.6205, allocations: 4.595 MB / 0.8375 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.6215, allocations: 420.4 kB / 0.8379 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.622, allocations: 251.9 kB / 0.8381 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.6224, allocations: 191.8 kB / 0.8383 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.623, allocations: 287.5 kB / 0.8386 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 3.136e-06/0.623, allocations: 0 / 0.8386 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001857/0.6249, allocations: 0.6382 MB / 0.8392 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.6249, allocations: 80.02 kB / 0.8393 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.6262, allocations: 1.122 MB / 0.8404 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.6263, allocations: 34.77 kB / 0.8404 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.6266, allocations: 499 kB / 0.8409 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.6267, allocations: 117.8 kB / 0.841 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.6269, allocations: 115 kB / 0.8411 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.627, allocations: 329.2 kB / 0.8414 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.6274, allocations: 212.3 kB / 0.8416 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.6279, allocations: 0.5325 MB / 0.8421 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.6288, allocations: 0.6208 MB / 0.8427 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6288, allocations: 2.562 kB / 0.8427 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001089/0.6299, allocations: 0.7298 MB / 0.8435 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.6299, allocations: 37.02 kB / 0.8435 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6299, allocations: 4.812 kB / 0.8435 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.63, allocations: 7.25 kB / 0.8435 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.6304, allocations: 121.1 kB / 0.8436 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.6304, allocations: 7.75 kB / 0.8436 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/0.631, allocations: 77.8 kB / 0.8437 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.6311, allocations: 25.48 kB / 0.8437 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006159/0.6317, allocations: 0.5003 MB / 0.8442 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004991/0.6322, allocations: 491 kB / 0.8447 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000702/0.6329, allocations: 0.5517 MB / 0.8452 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.6329, allocations: 10.53 kB / 0.8452 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009939/0.6339, allocations: 0.6555 MB / 0.8459 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.634, allocations: 39.78 kB / 0.8459 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.634, allocations: 4.719 kB / 0.8459 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.634, allocations: 7.75 kB / 0.8459 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.6344, allocations: 103.3 kB / 0.846 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6344, allocations: 7.781 kB / 0.846 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.6349, allocations: 68.73 kB / 0.8461 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.635, allocations: 25.36 kB / 0.8461 GB, free: 6.332 MB / 0.6075 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.6352, allocations: 217.1 kB / 0.8463 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6353, allocations: 106.6 kB / 0.8464 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.6362, allocations: 0.4887 MB / 0.8469 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.6362, allocations: 8 kB / 0.8469 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6362, allocations: 0 / 0.8469 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.6365, allocations: 212.4 kB / 0.8471 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.6366, allocations: 11.94 kB / 0.8471 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.637, allocations: 19.97 kB / 0.8471 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.6371, allocations: 23.97 kB / 0.8472 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009373/0.638, allocations: 0.5663 MB / 0.8477 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008533/0.6389, allocations: 0.7054 MB / 0.8484 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003989/0.6393, allocations: 172.3 kB / 0.8486 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009896/0.6403, allocations: 0.7914 MB / 0.8493 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of Backend: time 2.8e-07/0.6403, allocations: 0 / 0.8493 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.6424, allocations: 0.9022 MB / 0.8502 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of SimCode: time 0.003457/0.6458, allocations: 2.474 MB / 0.8526 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.03127/0.6771, allocations: 18.91 MB / 0.8711 GB, free: 13.07 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)