Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 101.8 kB / 16.64 MB, free: 6.824 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.001806/0.001806, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.339/1.339, allocations: 222.9 MB / 241.3 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7624/0.7624, allocations: 122.9 MB / 414.3 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 67.89 kB / 0.4913 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3793, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.17/0.5493, allocations: 159.4 MB / 0.723 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003526/0.5529, allocations: 1.771 MB / 0.7247 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.5533, allocations: 7.938 kB / 0.7247 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.554, allocations: 135.2 kB / 0.7248 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.5554, allocations: 0.4941 MB / 0.7253 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.5566, allocations: 353.6 kB / 0.7257 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.5592, allocations: 2.558 MB / 0.7282 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.5603, allocations: 0.8903 MB / 0.729 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.562, allocations: 1.055 MB / 0.7301 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.5629, allocations: 0.7624 MB / 0.7308 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.563, allocations: 56 kB / 0.7309 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.5643, allocations: 0.7522 MB / 0.7316 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.5647, allocations: 310.9 kB / 0.7319 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005872/0.5652, allocations: 0.544 MB / 0.7324 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.5664, allocations: 1.041 MB / 0.7334 GB, free: 364 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.5664, allocations: 0 / 0.7334 GB, free: 364 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5664, allocations: 0 / 0.7334 GB, free: 364 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.5665, allocations: 0 / 0.7334 GB, free: 364 kB / 0.5606 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.002274/0.5687, allocations: 1.454 MB / 0.7349 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5688, allocations: 12.62 kB / 0.7349 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007469/0.5696, allocations: 186.5 kB / 0.735 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.5707, allocations: 0.7982 MB / 0.7358 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.5708, allocations: 45 kB / 0.7359 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.5709, allocations: 60 kB / 0.7359 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.572, allocations: 0.7926 MB / 0.7367 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5721, allocations: 4 kB / 0.7367 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.5721, allocations: 20 kB / 0.7367 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.5722, allocations: 16 kB / 0.7367 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/0.573, allocations: 0.5383 MB / 0.7373 GB, free: 12.24 MB / 0.5762 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.00416/0.5772, allocations: 4.587 MB / 0.7417 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.578, allocations: 422.2 kB / 0.7421 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.5784, allocations: 246.2 kB / 0.7424 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.5787, allocations: 194.2 kB / 0.7426 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.5792, allocations: 293 kB / 0.7428 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.565e-06/0.5792, allocations: 0 / 0.7428 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001404/0.5806, allocations: 0.6287 MB / 0.7435 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.5807, allocations: 85.05 kB / 0.7435 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.5821, allocations: 1.114 MB / 0.7446 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.5822, allocations: 37.7 kB / 0.7447 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.5826, allocations: 496.1 kB / 0.7451 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.5827, allocations: 110.5 kB / 0.7452 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.5829, allocations: 109.9 kB / 0.7453 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.583, allocations: 329.9 kB / 0.7457 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.5834, allocations: 210.4 kB / 0.7459 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.584, allocations: 0.5253 MB / 0.7464 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.5849, allocations: 0.6282 MB / 0.747 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.5849, allocations: 4 kB / 0.747 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001245/0.5862, allocations: 0.7125 MB / 0.7477 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/0.5862, allocations: 37.91 kB / 0.7477 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5862, allocations: 4 kB / 0.7477 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5863, allocations: 11.94 kB / 0.7477 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.5881, allocations: 351.9 kB / 0.7481 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2779/0.866, allocations: 6.085 MB / 0.754 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009929/0.867, allocations: 90.27 kB / 0.7541 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.8671, allocations: 24.91 kB / 0.7541 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009573/0.868, allocations: 0.4933 MB / 0.7546 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005607/0.8686, allocations: 492.6 kB / 0.7551 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008006/0.8694, allocations: 0.5583 MB / 0.7556 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.819e-06/0.8694, allocations: 4.141 kB / 0.7556 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001223/0.8707, allocations: 0.6415 MB / 0.7563 GB, free: 165 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.8707, allocations: 39.42 kB / 0.7563 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8707, allocations: 11.19 kB / 0.7563 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.8707, allocations: 8.156 kB / 0.7563 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.8713, allocations: 151.5 kB / 0.7565 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.8714, allocations: 13.69 kB / 0.7565 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.8721, allocations: 87.02 kB / 0.7565 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.8721, allocations: 26.81 kB / 0.7566 GB, free: 164.9 MB / 0.5762 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.8723, allocations: 221.7 kB / 0.7568 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.8725, allocations: 100.9 kB / 0.7569 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009914/0.8735, allocations: 0.4924 MB / 0.7574 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.8735, allocations: 7.406 kB / 0.7574 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8735, allocations: 3.031 kB / 0.7574 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.8735, allocations: 1.734 kB / 0.7574 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.8756, allocations: 1.378 MB / 0.7587 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8756, allocations: 1.125 kB / 0.7587 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.8763, allocations: 144.2 kB / 0.7589 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.8763, allocations: 9.375 kB / 0.7589 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.8763, allocations: 9.094 kB / 0.7589 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.8784, allocations: 6.024 MB / 0.7648 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8784, allocations: 6.5 kB / 0.7648 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.8796, allocations: 0.6033 MB / 0.7654 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.88, allocations: 214 kB / 0.7656 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.8801, allocations: 9.344 kB / 0.7656 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.8806, allocations: 43.39 kB / 0.7656 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.8807, allocations: 32.02 kB / 0.7656 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.8808, allocations: 15 kB / 0.7657 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001231/0.882, allocations: 0.7935 MB / 0.7664 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.882, allocations: 1.125 kB / 0.7664 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001367/0.8834, allocations: 407.1 kB / 0.7668 GB, free: 157 MB / 0.5762 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000449/0.8839, allocations: 179.7 kB / 0.767 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003329/0.8872, allocations: 1.132 MB / 0.7681 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8872, allocations: 0 / 0.7681 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007992/0.888, allocations: 281.8 kB / 0.7684 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.8901, allocations: 450.4 kB / 0.7688 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.8932, allocations: 2.149 MB / 0.7709 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.8939, allocations: 1.182 MB / 0.772 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.8941, allocations: 71.7 kB / 0.7721 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.8941, allocations: 0 / 0.7721 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.05276/0.9469, allocations: 64.26 MB / 0.8349 GB, free: 98.16 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)