Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001183/0.001183, allocations: 110.7 kB / 16.41 MB, free: 6.438 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.001113/0.001113, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8299/0.8299, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 66.95 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.172, allocations: 80.92 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6033/0.7753, allocations: 161.6 MB / 0.8231 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003427/0.7788, allocations: 1.758 MB / 0.8249 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005749/0.7794, allocations: 10.88 kB / 0.8249 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.7802, allocations: 165.5 kB / 0.825 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.782, allocations: 0.5208 MB / 0.8255 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.7834, allocations: 399.8 kB / 0.8259 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003212/0.7866, allocations: 2.526 MB / 0.8284 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001617/0.7882, allocations: 0.9208 MB / 0.8293 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.7905, allocations: 1.038 MB / 0.8303 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.7919, allocations: 0.7095 MB / 0.831 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.7922, allocations: 59.67 kB / 0.831 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.7942, allocations: 0.7325 MB / 0.8318 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005408/0.7947, allocations: 308.9 kB / 0.8321 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.796, allocations: 0.5409 MB / 0.8326 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.7986, allocations: 1.414 MB / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7986, allocations: 0 / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7986, allocations: 0 / 0.834 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.649e-05/0.7987, 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.003254/0.8019, allocations: 1.445 MB / 0.8354 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.802, allocations: 11.33 kB / 0.8354 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.803, allocations: 184.1 kB / 0.8356 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.8046, allocations: 0.8539 MB / 0.8364 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.8047, allocations: 42.72 kB / 0.8364 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.8048, allocations: 58.69 kB / 0.8365 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.8062, allocations: 0.7927 MB / 0.8373 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.8062, allocations: 2.688 kB / 0.8373 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.8063, allocations: 21.28 kB / 0.8373 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.8063, allocations: 18.66 kB / 0.8373 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.8073, allocations: 0.5375 MB / 0.8378 GB, free: 11.04 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.004493/0.8118, allocations: 4.603 MB / 0.8423 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.8125, allocations: 408.2 kB / 0.8427 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.8129, allocations: 238.9 kB / 0.8429 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/0.8132, allocations: 199.6 kB / 0.8431 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/0.8138, allocations: 298 kB / 0.8434 GB, free: 6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.725e-06/0.8138, allocations: 3.938 kB / 0.8434 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001499/0.8153, allocations: 0.6349 MB / 0.844 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.8153, allocations: 82.2 kB / 0.8441 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.817, allocations: 1.116 MB / 0.8452 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.8171, allocations: 39.36 kB / 0.8453 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.8176, allocations: 494.4 kB / 0.8457 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.8177, allocations: 105.5 kB / 0.8458 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.8179, allocations: 114.7 kB / 0.8459 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.818, allocations: 330.9 kB / 0.8462 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.8184, allocations: 214 kB / 0.8465 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.819, allocations: 0.5228 MB / 0.847 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/0.8199, allocations: 0.6185 MB / 0.8476 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8199, allocations: 2.406 kB / 0.8476 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0013/0.8212, allocations: 0.7224 MB / 0.8483 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.8213, allocations: 36.8 kB / 0.8483 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.8213, allocations: 5.125 kB / 0.8483 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.8213, allocations: 11 kB / 0.8483 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.8218, allocations: 110.3 kB / 0.8484 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.8218, allocations: 14.03 kB / 0.8484 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/0.8226, allocations: 71.11 kB / 0.8485 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.8227, allocations: 27.88 kB / 0.8485 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007705/0.8234, allocations: 0.5016 MB / 0.849 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005428/0.824, allocations: 489.5 kB / 0.8495 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007536/0.8248, allocations: 0.5569 MB / 0.85 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.624e-06/0.8248, allocations: 4 kB / 0.85 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001159/0.8259, allocations: 0.6343 MB / 0.8507 GB, free: 396 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.826, allocations: 37.69 kB / 0.8507 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.826, allocations: 4 kB / 0.8507 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.826, allocations: 8 kB / 0.8507 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.8264, allocations: 108.4 kB / 0.8508 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.8264, allocations: 11.94 kB / 0.8508 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/0.8272, allocations: 68.03 kB / 0.8509 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.8272, allocations: 31.92 kB / 0.8509 GB, free: 120 kB / 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.0002267/0.8275, allocations: 220 kB / 0.8511 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.8277, allocations: 102.8 kB / 0.8512 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.8287, allocations: 494.8 kB / 0.8517 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.8287, allocations: 7.938 kB / 0.8517 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.8287, allocations: 0 / 0.8517 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8287, allocations: 4 kB / 0.8517 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.831, allocations: 1.383 MB / 0.8531 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.831, allocations: 7.938 kB / 0.8531 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.8312, allocations: 64.11 kB / 0.8531 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.8313, allocations: 8 kB / 0.8531 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.8313, allocations: 8 kB / 0.8531 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.8313, allocations: 8 kB / 0.8532 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8313, allocations: 4 kB / 0.8532 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.8322, allocations: 0.5944 MB / 0.8537 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.8326, allocations: 215.7 kB / 0.8539 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.8328, allocations: 11.98 kB / 0.854 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.8333, allocations: 19.98 kB / 0.854 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8334, allocations: 32.14 kB / 0.854 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.8334, allocations: 12 kB / 0.854 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001111/0.8345, allocations: 0.7875 MB / 0.8548 GB, free: 12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8345, allocations: 0 / 0.8548 GB, free: 12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001395/0.8359, allocations: 411.4 kB / 0.8552 GB, free: 11.6 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004791/0.8364, allocations: 179.7 kB / 0.8553 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.8379, allocations: 0.8244 MB / 0.8562 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.838, allocations: 0 / 0.8562 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.8383, allocations: 191.7 kB / 0.8563 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.8404, allocations: 455.3 kB / 0.8568 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.8436, allocations: 1.777 MB / 0.8585 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.8444, allocations: 1.18 MB / 0.8597 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.8447, allocations: 75.42 kB / 0.8597 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.8447, allocations: 0 / 0.8597 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of Templates: time 0.02604/0.8707, allocations: 15.96 MB / 0.8753 GB, free: 6.961 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)