Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.0013/0.0013, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7189/0.7189, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 62.97 kB / 0.5862 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1244, allocations: 80.92 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4663/0.5908, allocations: 161.6 MB / 0.8231 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.595, allocations: 3.629 MB / 0.8266 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.5953, allocations: 11.88 kB / 0.8266 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.5958, allocations: 154.9 kB / 0.8268 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.5969, allocations: 0.5417 MB / 0.8273 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.5978, allocations: 429 kB / 0.8277 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002061/0.5999, allocations: 2.537 MB / 0.8302 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008882/0.6008, allocations: 0.931 MB / 0.8311 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.602, allocations: 1.036 MB / 0.8321 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006276/0.6026, allocations: 0.7056 MB / 0.8328 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.184e-05/0.6027, allocations: 55.06 kB / 0.8329 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.6038, allocations: 0.7331 MB / 0.8336 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.6041, allocations: 312.9 kB / 0.8339 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.6046, allocations: 0.5414 MB / 0.8344 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.6058, allocations: 1.41 MB / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6058, allocations: 0 / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6058, allocations: 0 / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.6058, allocations: 0 / 0.8358 GB, free: 12.32 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001863/0.6077, allocations: 1.446 MB / 0.8372 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6077, allocations: 11.39 kB / 0.8372 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006762/0.6084, allocations: 188.5 kB / 0.8374 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.6095, allocations: 0.8561 MB / 0.8382 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.6095, allocations: 45.83 kB / 0.8383 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-05/0.6096, allocations: 56.97 kB / 0.8383 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.6106, allocations: 0.7948 MB / 0.8391 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6107, allocations: 0 / 0.8391 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.6107, allocations: 23.56 kB / 0.8391 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.6107, allocations: 20.22 kB / 0.8391 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/0.6115, allocations: 0.5286 MB / 0.8397 GB, free: 9.602 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.003272/0.6148, allocations: 4.592 MB / 0.8441 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.6154, allocations: 422.7 kB / 0.8445 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.6158, allocations: 242.5 kB / 0.8448 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.616, allocations: 191 kB / 0.845 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.6165, allocations: 301.2 kB / 0.8452 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.6165, allocations: 3.938 kB / 0.8452 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003444/0.6199, allocations: 1.306 MB / 0.8465 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.62, allocations: 86.7 kB / 0.8466 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.6211, allocations: 1.119 MB / 0.8477 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.6211, allocations: 34.33 kB / 0.8477 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.6215, allocations: 494.5 kB / 0.8482 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.176e-05/0.6215, allocations: 110.1 kB / 0.8483 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.6217, allocations: 118 kB / 0.8484 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.6218, allocations: 319.6 kB / 0.8487 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.6221, allocations: 222.5 kB / 0.8489 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.6226, allocations: 0.516 MB / 0.8494 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007629/0.6234, allocations: 0.6254 MB / 0.8501 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6234, allocations: 2.094 kB / 0.8501 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001994/0.6254, allocations: 1.044 MB / 0.8511 GB, free: 244 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.6255, allocations: 37.8 kB / 0.8511 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6255, allocations: 7.984 kB / 0.8511 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.6267, allocations: 356.4 kB / 0.8515 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.627, allocations: 63.83 kB / 0.8515 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008722/0.6279, allocations: 1.019 MB / 0.8525 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.6284, allocations: 67.5 kB / 0.8526 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.6285, allocations: 27.98 kB / 0.8526 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006022/0.6291, allocations: 0.4928 MB / 0.8531 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004979/0.6296, allocations: 490 kB / 0.8536 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006835/0.6303, allocations: 0.5611 MB / 0.8541 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.6303, allocations: 0 / 0.8541 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001336/0.6316, allocations: 0.8343 MB / 0.8549 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.6317, allocations: 37.7 kB / 0.855 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6317, allocations: 11.94 kB / 0.855 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004476/0.6322, allocations: 204.6 kB / 0.8552 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.6324, allocations: 59.94 kB / 0.8552 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.6357, allocations: 3.338 MB / 0.8585 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.6362, allocations: 75.95 kB / 0.8585 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.6363, allocations: 24 kB / 0.8586 GB, free: 8.121 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 (34): * Single equations (assignments): 32 * 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.0001573/0.6364, allocations: 212.2 kB / 0.8588 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.6366, allocations: 102.7 kB / 0.8589 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.6377, allocations: 0.7103 MB / 0.8596 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.6377, allocations: 0 / 0.8596 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.6377, allocations: 4 kB / 0.8596 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6377, allocations: 0 / 0.8596 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.6398, allocations: 1.599 MB / 0.8611 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6398, allocations: 7.938 kB / 0.8611 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.6399, allocations: 19.98 kB / 0.8612 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.6403, allocations: 220.6 kB / 0.8614 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.6403, allocations: 16.16 kB / 0.8614 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007661/0.6411, allocations: 0.976 MB / 0.8623 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6411, allocations: 7.969 kB / 0.8623 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.6422, allocations: 0.8291 MB / 0.8632 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.6425, allocations: 215.9 kB / 0.8634 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.6426, allocations: 15.92 kB / 0.8634 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.643, allocations: 23.97 kB / 0.8634 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.643, allocations: 31.91 kB / 0.8634 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.6431, allocations: 15.98 kB / 0.8634 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008582/0.6439, allocations: 0.7877 MB / 0.8642 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6439, allocations: 0 / 0.8642 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001072/0.645, allocations: 435.4 kB / 0.8646 GB, free: 1.715 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0003458/0.6454, allocations: 170.1 kB / 0.8648 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.6471, allocations: 1.075 MB / 0.8658 GB, free: 456 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6471, allocations: 0 / 0.8658 GB, free: 456 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.6475, allocations: 231.3 kB / 0.8661 GB, free: 224 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6492, allocations: 457.4 kB / 0.8665 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.6516, allocations: 1.803 MB / 0.8683 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.6523, allocations: 1.181 MB / 0.8694 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.6524, allocations: 63.42 kB / 0.8695 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.6524, allocations: 0 / 0.8695 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of Templates: time 0.02259/0.675, allocations: 20.33 MB / 0.8893 GB, free: 8.383 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)