Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008071/0.008071, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00166/0.00166, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7549/0.7549, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 70.48 kB / 0.5814 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.155, allocations: 80.21 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.548/0.703, allocations: 161.6 MB / 0.8175 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.7074, allocations: 3.618 MB / 0.821 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.7077, allocations: 13.81 kB / 0.821 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.7083, allocations: 164.1 kB / 0.8212 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.7096, allocations: 0.5555 MB / 0.8217 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.7108, allocations: 441.2 kB / 0.8222 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.7141, allocations: 2.55 MB / 0.8246 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7155, allocations: 0.9373 MB / 0.8256 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.7175, allocations: 1.042 MB / 0.8266 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008263/0.7183, allocations: 0.7086 MB / 0.8273 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.7184, allocations: 54.94 kB / 0.8273 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.7201, allocations: 0.7471 MB / 0.828 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003832/0.7205, allocations: 307.8 kB / 0.8283 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008003/0.7214, allocations: 0.5438 MB / 0.8289 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.7232, allocations: 1.406 MB / 0.8302 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7233, allocations: 1.875 kB / 0.8302 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7233, allocations: 0 / 0.8302 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.7233, allocations: 0 / 0.8302 GB, free: 2.934 MB / 0.6387 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.001977/0.7253, allocations: 1.456 MB / 0.8317 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.7253, allocations: 10.56 kB / 0.8317 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007225/0.726, allocations: 183.6 kB / 0.8319 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.7271, allocations: 0.8587 MB / 0.8327 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.7272, allocations: 45.5 kB / 0.8327 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.7273, allocations: 58.69 kB / 0.8328 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.7283, allocations: 0.7903 MB / 0.8336 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.7284, allocations: 8.562 kB / 0.8336 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.7284, allocations: 23.34 kB / 0.8336 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.7285, allocations: 13.83 kB / 0.8336 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.7293, allocations: 0.5307 MB / 0.8341 GB, free: 1.434 MB / 0.6387 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.003473/0.7328, allocations: 4.597 MB / 0.8386 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.7334, allocations: 411.2 kB / 0.839 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.7337, allocations: 250 kB / 0.8392 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.734, allocations: 191.7 kB / 0.8394 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.7344, allocations: 302 kB / 0.8397 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.7344, allocations: 0 / 0.8397 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.004351/0.7388, allocations: 1.637 MB / 0.8413 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.7389, allocations: 82.83 kB / 0.8414 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.74, allocations: 1.127 MB / 0.8425 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.7401, allocations: 34.42 kB / 0.8425 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.7404, allocations: 493.8 kB / 0.843 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.547e-05/0.7405, allocations: 109.3 kB / 0.8431 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.7406, allocations: 113.1 kB / 0.8432 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7407, allocations: 326.7 kB / 0.8435 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.7411, allocations: 216.6 kB / 0.8437 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.7416, allocations: 0.5195 MB / 0.8442 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/0.7424, allocations: 0.6239 MB / 0.8448 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7424, allocations: 3.469 kB / 0.8449 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001884/0.7443, allocations: 1.036 MB / 0.8459 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.7443, allocations: 39.83 kB / 0.8459 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.7443, allocations: 4.594 kB / 0.8459 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.7455, allocations: 381.3 kB / 0.8463 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.7457, allocations: 64.17 kB / 0.8463 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.747, allocations: 1.075 MB / 0.8474 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.7477, allocations: 77.17 kB / 0.8475 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.7478, allocations: 27.09 kB / 0.8475 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006869/0.7485, allocations: 0.495 MB / 0.848 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005089/0.749, allocations: 491.1 kB / 0.8484 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006763/0.7497, allocations: 0.5573 MB / 0.849 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.481e-06/0.7497, allocations: 6.438 kB / 0.849 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001308/0.751, allocations: 0.8345 MB / 0.8498 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.7511, allocations: 34.14 kB / 0.8498 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.7511, allocations: 6.188 kB / 0.8498 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/0.7515, allocations: 224.3 kB / 0.85 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.7517, allocations: 63.59 kB / 0.8501 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.755, allocations: 3.258 MB / 0.8533 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/0.7557, allocations: 70.27 kB / 0.8534 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.7558, allocations: 24.06 kB / 0.8534 GB, free: 8.848 MB / 0.6544 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.756, allocations: 223.7 kB / 0.8536 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.7561, allocations: 96.28 kB / 0.8537 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.7573, allocations: 0.7056 MB / 0.8544 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.7573, allocations: 8.938 kB / 0.8544 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7573, allocations: 0.8438 kB / 0.8544 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7573, allocations: 4.109 kB / 0.8544 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.7594, allocations: 1.6 MB / 0.856 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7594, allocations: 7.344 kB / 0.856 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.7595, allocations: 16.2 kB / 0.856 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.7599, allocations: 254.8 kB / 0.8562 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.76, allocations: 8.156 kB / 0.8562 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008897/0.7609, allocations: 1.031 MB / 0.8572 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7609, allocations: 4 kB / 0.8572 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.762, allocations: 0.8306 MB / 0.858 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.7623, allocations: 216.9 kB / 0.8583 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.7624, allocations: 8.75 kB / 0.8583 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.7629, allocations: 25.22 kB / 0.8583 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.7629, allocations: 31.02 kB / 0.8583 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.763, allocations: 15.56 kB / 0.8583 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008988/0.7639, allocations: 0.7902 MB / 0.8591 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.7639, allocations: 0.9688 kB / 0.8591 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001174/0.7651, allocations: 430.3 kB / 0.8595 GB, free: 6.887 MB / 0.6544 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003898/0.7655, allocations: 179.3 kB / 0.8597 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.7677, allocations: 1.213 MB / 0.8609 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7677, allocations: 3.312 kB / 0.8609 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.7683, allocations: 291.9 kB / 0.8611 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.7702, allocations: 450.2 kB / 0.8616 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.7727, allocations: 1.774 MB / 0.8633 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.7734, allocations: 1.181 MB / 0.8645 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007307/0.7741, allocations: 321.6 kB / 0.8648 GB, free: 5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.7743, allocations: 61.78 kB / 0.8648 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of SimCode: time 1.142e-06/0.7743, allocations: 0 / 0.8648 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of Templates: time 0.02965/0.8039, allocations: 19.43 MB / 0.8838 GB, free: 13.71 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)