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.001484/0.001484, allocations: 109.4 kB / 16.41 MB, free: 6.457 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.001707/0.001707, allocations: 187 kB / 17.34 MB, free: 5.719 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8731/0.8731, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.44 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1712, allocations: 80.21 MB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.5716/0.7429, allocations: 161.6 MB / 0.8182 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.7481, allocations: 3.612 MB / 0.8217 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.7486, allocations: 15.34 kB / 0.8217 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.7492, allocations: 160.6 kB / 0.8219 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.7508, allocations: 0.5351 MB / 0.8224 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.7522, allocations: 432.9 kB / 0.8228 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002621/0.7548, allocations: 2.537 MB / 0.8253 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.756, allocations: 0.945 MB / 0.8262 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.7582, allocations: 1.041 MB / 0.8272 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.7598, allocations: 0.702 MB / 0.8279 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.7602, allocations: 55.5 kB / 0.8279 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.7626, allocations: 0.7366 MB / 0.8287 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.7632, allocations: 311.4 kB / 0.829 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.7644, allocations: 0.5469 MB / 0.8295 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.7669, allocations: 1.412 MB / 0.8309 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7669, allocations: 0 / 0.8309 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7669, allocations: 0 / 0.8309 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.074e-05/0.767, allocations: 0 / 0.8309 GB, free: 1.957 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.003145/0.7701, allocations: 1.448 MB / 0.8323 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7702, allocations: 10.41 kB / 0.8323 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009349/0.7711, allocations: 185.7 kB / 0.8325 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.7729, allocations: 0.8525 MB / 0.8333 GB, free: 132 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.773, allocations: 42.09 kB / 0.8333 GB, free: 116 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/0.7731, allocations: 63.19 kB / 0.8334 GB, free: 96 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.7743, allocations: 0.7923 MB / 0.8342 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.7743, allocations: 2.406 kB / 0.8342 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/0.7744, allocations: 25.23 kB / 0.8342 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.7744, allocations: 20.91 kB / 0.8342 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.7753, allocations: 0.53 MB / 0.8347 GB, free: 15.23 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.004433/0.7797, allocations: 4.588 MB / 0.8392 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.7804, allocations: 423.9 kB / 0.8396 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.7808, allocations: 249.6 kB / 0.8399 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003025/0.7812, allocations: 191.2 kB / 0.8401 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.7817, allocations: 290.6 kB / 0.8403 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 5.791e-06/0.7817, allocations: 4 kB / 0.8403 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.00499/0.7867, allocations: 1.648 MB / 0.8419 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.7868, allocations: 80.02 kB / 0.842 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.7884, allocations: 1.121 MB / 0.8431 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.7885, allocations: 38.55 kB / 0.8432 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.7889, allocations: 490.7 kB / 0.8436 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.7891, allocations: 109.4 kB / 0.8437 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.7892, allocations: 123.3 kB / 0.8438 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7894, allocations: 322.9 kB / 0.8441 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.7898, allocations: 218 kB / 0.8444 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006236/0.7904, allocations: 0.5132 MB / 0.8449 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/0.7913, allocations: 0.6299 MB / 0.8455 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.7914, allocations: 2.125 kB / 0.8455 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002364/0.7937, allocations: 1.041 MB / 0.8465 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.7938, allocations: 35.52 kB / 0.8465 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.7938, allocations: 5.281 kB / 0.8465 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.7951, allocations: 385.9 kB / 0.8469 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.7953, allocations: 64.75 kB / 0.847 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.7968, allocations: 1.083 MB / 0.848 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.7977, allocations: 87.33 kB / 0.8481 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.7978, allocations: 24 kB / 0.8481 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007941/0.7986, allocations: 0.4928 MB / 0.8486 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005387/0.7991, allocations: 490 kB / 0.8491 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007699/0.7999, allocations: 0.5608 MB / 0.8496 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.56e-06/0.7999, allocations: 0 / 0.8496 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001639/0.8015, allocations: 0.8338 MB / 0.8504 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.8016, allocations: 33.7 kB / 0.8505 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.8016, allocations: 4.625 kB / 0.8505 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/0.8022, allocations: 220.6 kB / 0.8507 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.8024, allocations: 59.91 kB / 0.8507 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.8062, allocations: 3.255 MB / 0.8539 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/0.8071, allocations: 67.97 kB / 0.854 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.8071, allocations: 24.19 kB / 0.854 GB, free: 14.4 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.8074, allocations: 216.2 kB / 0.8542 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.8076, allocations: 102.7 kB / 0.8543 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.809, allocations: 0.7179 MB / 0.855 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.8091, allocations: 4 kB / 0.855 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.8091, allocations: 0 / 0.855 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.8091, allocations: 0 / 0.855 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.8118, allocations: 1.595 MB / 0.8566 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.8118, allocations: 4 kB / 0.8566 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.8119, allocations: 23.97 kB / 0.8566 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/0.8125, allocations: 260.8 kB / 0.8568 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.8125, allocations: 8 kB / 0.8569 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.8135, allocations: 1.024 MB / 0.8579 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8135, allocations: 4 kB / 0.8579 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.8148, allocations: 0.8219 MB / 0.8587 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.8153, allocations: 219.8 kB / 0.8589 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.8155, allocations: 8 kB / 0.8589 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.816, allocations: 23.97 kB / 0.8589 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.8161, allocations: 35.84 kB / 0.8589 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.8161, allocations: 8 kB / 0.8589 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001109/0.8172, allocations: 0.7955 MB / 0.8597 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8172, allocations: 0 / 0.8597 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001393/0.8186, allocations: 431.4 kB / 0.8601 GB, free: 7.93 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000455/0.8191, allocations: 176.3 kB / 0.8603 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002644/0.8218, allocations: 1.212 MB / 0.8615 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.8218, allocations: 0 / 0.8615 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.8224, allocations: 283.8 kB / 0.8618 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.8245, allocations: 460.1 kB / 0.8622 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.8277, allocations: 1.831 MB / 0.864 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.8285, allocations: 1.181 MB / 0.8651 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.8286, allocations: 63.44 kB / 0.8652 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of SimCode: time 2.024e-06/0.8287, allocations: 0 / 0.8652 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of Templates: time 0.02759/0.8563, allocations: 20.69 MB / 0.8854 GB, free: 14.07 MB / 0.6544 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)