Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001581/0.001581, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001682/0.001682, allocations: 183 kB / 17.34 MB, free: 5.75 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.33/1.33, 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.788/0.788, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.5 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1639, allocations: 80.21 MB / 0.6603 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5974/0.7614, allocations: 161.6 MB / 0.8182 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.7665, allocations: 3.62 MB / 0.8217 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.767, allocations: 14.72 kB / 0.8217 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.7677, allocations: 156.6 kB / 0.8219 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.7692, allocations: 0.5278 MB / 0.8224 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.7705, allocations: 445.3 kB / 0.8228 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.7731, allocations: 2.535 MB / 0.8253 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.7743, allocations: 0.9393 MB / 0.8262 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.7761, allocations: 1.036 MB / 0.8272 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008959/0.777, allocations: 0.7062 MB / 0.8279 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.7771, allocations: 53.31 kB / 0.828 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.7786, allocations: 0.7429 MB / 0.8287 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.779, allocations: 308.7 kB / 0.829 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006038/0.7796, allocations: 0.5416 MB / 0.8295 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.7812, allocations: 1.405 MB / 0.8309 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.7812, allocations: 3.219 kB / 0.8309 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7812, allocations: 0 / 0.8309 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.7812, allocations: 0 / 0.8309 GB, free: 1.855 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002276/0.7835, allocations: 1.456 MB / 0.8323 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.7836, allocations: 10.16 kB / 0.8323 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007765/0.7844, allocations: 194.9 kB / 0.8325 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.7856, allocations: 0.8528 MB / 0.8333 GB, free: 12 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.7857, allocations: 41.52 kB / 0.8334 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.7857, allocations: 57.16 kB / 0.8334 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.7869, allocations: 0.7908 MB / 0.8342 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.7869, allocations: 3.938 kB / 0.8342 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.787, allocations: 23.19 kB / 0.8342 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.787, allocations: 16.97 kB / 0.8342 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.7879, allocations: 0.532 MB / 0.8348 GB, free: 15.12 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.003954/0.7918, allocations: 4.588 MB / 0.8392 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.7925, allocations: 426.8 kB / 0.8396 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.7929, allocations: 243.1 kB / 0.8399 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.7932, allocations: 199 kB / 0.8401 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.7938, allocations: 294.2 kB / 0.8403 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.7938, allocations: 0 / 0.8403 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003706/0.7975, allocations: 1.323 MB / 0.8416 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.7975, allocations: 82.27 kB / 0.8417 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.7989, allocations: 1.118 MB / 0.8428 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/0.799, allocations: 38.36 kB / 0.8428 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.7994, allocations: 486.8 kB / 0.8433 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.7995, allocations: 109.5 kB / 0.8434 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.7997, allocations: 122.5 kB / 0.8435 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7998, allocations: 323.5 kB / 0.8438 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.8002, allocations: 214.4 kB / 0.844 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.8008, allocations: 0.517 MB / 0.8445 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.8016, allocations: 0.6252 MB / 0.8452 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.8016, allocations: 2.438 kB / 0.8452 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002174/0.8038, allocations: 1.041 MB / 0.8462 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.8039, allocations: 39.06 kB / 0.8462 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.8039, allocations: 4.906 kB / 0.8462 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.8052, allocations: 364.1 kB / 0.8466 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.8054, allocations: 65.22 kB / 0.8466 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.8064, allocations: 1.007 MB / 0.8476 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/0.8072, allocations: 73 kB / 0.8477 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.8073, allocations: 28.77 kB / 0.8477 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007718/0.808, allocations: 0.5004 MB / 0.8482 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005272/0.8086, allocations: 485.9 kB / 0.8487 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007381/0.8093, allocations: 0.5644 MB / 0.8492 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.8093, allocations: 4 kB / 0.8492 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001524/0.8109, allocations: 0.8225 MB / 0.85 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.8109, allocations: 33.7 kB / 0.8501 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8109, allocations: 11.94 kB / 0.8501 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.8114, allocations: 205.2 kB / 0.8503 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.8116, allocations: 59.91 kB / 0.8503 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003862/0.8155, allocations: 3.334 MB / 0.8536 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008252/0.8163, allocations: 83.83 kB / 0.8537 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.8164, allocations: 24 kB / 0.8537 GB, free: 14.59 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.000239/0.8167, allocations: 208.1 kB / 0.8539 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.8169, allocations: 106.7 kB / 0.854 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.8182, allocations: 0.7101 MB / 0.8547 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.8183, allocations: 4 kB / 0.8547 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.8183, allocations: 0 / 0.8547 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.8183, allocations: 0 / 0.8547 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.8208, allocations: 1.595 MB / 0.8562 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.8208, allocations: 7.938 kB / 0.8562 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.821, allocations: 23.92 kB / 0.8563 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.8214, allocations: 227.4 kB / 0.8565 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.8215, allocations: 8 kB / 0.8565 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008686/0.8223, allocations: 0.9736 MB / 0.8574 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.8224, allocations: 4.031 kB / 0.8574 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.8236, allocations: 0.8408 MB / 0.8583 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.824, allocations: 215.8 kB / 0.8585 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.8242, allocations: 11.94 kB / 0.8585 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.8247, allocations: 27.97 kB / 0.8585 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.8248, allocations: 23.97 kB / 0.8585 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.8248, allocations: 15.98 kB / 0.8585 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00112/0.8259, allocations: 0.7916 MB / 0.8593 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8259, allocations: 0 / 0.8593 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001407/0.8274, allocations: 431.4 kB / 0.8597 GB, free: 8.195 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.0004909/0.8279, allocations: 181.8 kB / 0.8599 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.8299, allocations: 1.067 MB / 0.8609 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.83, allocations: 0 / 0.8609 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.8304, allocations: 234.2 kB / 0.8612 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.8325, allocations: 459.7 kB / 0.8616 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.8357, allocations: 1.788 MB / 0.8634 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/0.8365, allocations: 1.188 MB / 0.8645 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.8366, allocations: 63.44 kB / 0.8646 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.8366, allocations: 0 / 0.8646 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of Templates: time 0.02963/0.8663, allocations: 20.43 MB / 0.8845 GB, free: 14.82 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)