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.001207/0.001207, allocations: 114.2 kB / 17.08 MB, free: 5.789 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.001079/0.001079, allocations: 196.6 kB / 18.02 MB, free: 4.918 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.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7457/0.7457, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.64 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.158, allocations: 76.18 MB / 0.6327 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.581/0.7391, allocations: 161.6 MB / 0.7905 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003024/0.7421, allocations: 1.765 MB / 0.7923 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.7426, allocations: 14.31 kB / 0.7923 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.7432, allocations: 158.8 kB / 0.7924 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.7447, allocations: 0.5253 MB / 0.7929 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.7458, allocations: 391.8 kB / 0.7933 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.7485, allocations: 2.53 MB / 0.7958 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.7496, allocations: 0.9232 MB / 0.7967 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.7513, allocations: 1.038 MB / 0.7977 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008553/0.7521, allocations: 0.7065 MB / 0.7984 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.7523, allocations: 55.44 kB / 0.7984 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.7538, allocations: 0.7441 MB / 0.7992 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.7541, allocations: 306.5 kB / 0.7995 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006225/0.7547, allocations: 0.5388 MB / 0.8 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.7565, allocations: 1.406 MB / 0.8014 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7566, allocations: 0 / 0.8014 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7566, allocations: 0 / 0.8014 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.7566, allocations: 0 / 0.8014 GB, free: 12.14 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00231/0.7589, allocations: 1.446 MB / 0.8028 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.7589, allocations: 9.781 kB / 0.8028 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000789/0.7597, allocations: 185.5 kB / 0.803 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.761, allocations: 0.8569 MB / 0.8038 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.761, allocations: 43.09 kB / 0.8038 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.7611, allocations: 59.88 kB / 0.8039 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.7622, allocations: 0.8004 MB / 0.8047 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.7623, allocations: 6.219 kB / 0.8047 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.7623, allocations: 19.22 kB / 0.8047 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.7624, allocations: 14.94 kB / 0.8047 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008309/0.7632, allocations: 0.5364 MB / 0.8052 GB, free: 10.33 MB / 0.5919 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.004249/0.7675, allocations: 4.588 MB / 0.8097 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.7682, allocations: 412.9 kB / 0.8101 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.7686, allocations: 246 kB / 0.8103 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.7689, allocations: 197.3 kB / 0.8105 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004926/0.7694, allocations: 292.2 kB / 0.8108 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.7694, allocations: 0 / 0.8108 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001377/0.7708, allocations: 0.6295 MB / 0.8114 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.7709, allocations: 88.14 kB / 0.8115 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.7723, allocations: 1.113 MB / 0.8126 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/0.7724, allocations: 38.42 kB / 0.8126 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.7728, allocations: 492.2 kB / 0.8131 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.7729, allocations: 109.8 kB / 0.8132 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.7731, allocations: 108.8 kB / 0.8133 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7733, allocations: 329.6 kB / 0.8136 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.7737, allocations: 216.9 kB / 0.8138 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.7743, allocations: 0.526 MB / 0.8143 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008845/0.7752, allocations: 0.6443 MB / 0.815 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7752, allocations: 0 / 0.815 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001258/0.7765, allocations: 0.7169 MB / 0.8157 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.7765, allocations: 33.39 kB / 0.8157 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.7765, allocations: 4.812 kB / 0.8157 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.7766, allocations: 11.72 kB / 0.8157 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.7784, allocations: 354.5 kB / 0.8161 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/0.7822, allocations: 6.075 MB / 0.822 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/0.7832, allocations: 72.08 kB / 0.8221 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.7833, allocations: 28.02 kB / 0.8221 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00091/0.7842, allocations: 0.4942 MB / 0.8226 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006064/0.7848, allocations: 490.7 kB / 0.823 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008066/0.7856, allocations: 0.5629 MB / 0.8236 GB, free: 12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-06/0.7856, allocations: 2.75 kB / 0.8236 GB, free: 12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.00127/0.7869, allocations: 0.6463 MB / 0.8242 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.787, allocations: 40.44 kB / 0.8243 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.787, allocations: 4.656 kB / 0.8243 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.787, allocations: 11.81 kB / 0.8243 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.7875, allocations: 151.9 kB / 0.8244 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.7876, allocations: 11.39 kB / 0.8244 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.7884, allocations: 80.41 kB / 0.8245 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.7885, allocations: 21.94 kB / 0.8245 GB, free: 11.52 MB / 0.6075 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.0002832/0.7888, allocations: 216.7 kB / 0.8247 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.789, allocations: 98.06 kB / 0.8248 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.7901, allocations: 0.4924 MB / 0.8253 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7901, allocations: 4.844 kB / 0.8253 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7901, allocations: 0 / 0.8253 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.7901, allocations: 6.234 kB / 0.8253 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.7925, allocations: 1.373 MB / 0.8267 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/0.7925, allocations: 2.75 kB / 0.8267 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/0.7931, allocations: 151.7 kB / 0.8268 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.7931, allocations: 8.594 kB / 0.8268 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.7932, allocations: 9.094 kB / 0.8268 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/0.7964, allocations: 6.02 MB / 0.8327 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7964, allocations: 7 kB / 0.8327 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.7974, allocations: 0.6048 MB / 0.8333 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.7979, allocations: 210.3 kB / 0.8335 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.7981, allocations: 5.781 kB / 0.8335 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.7986, allocations: 22.44 kB / 0.8335 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.7987, allocations: 35.09 kB / 0.8336 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.7987, allocations: 15.61 kB / 0.8336 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001229/0.8, allocations: 0.7891 MB / 0.8343 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8, allocations: 0 / 0.8343 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001424/0.8014, allocations: 406.6 kB / 0.8347 GB, free: 2.797 MB / 0.6075 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.0005609/0.802, allocations: 173.3 kB / 0.8349 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003177/0.8052, allocations: 1.094 MB / 0.836 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8052, allocations: 1.375 kB / 0.836 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.806, allocations: 290.9 kB / 0.8362 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.8082, allocations: 448 kB / 0.8367 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.8117, allocations: 1.839 MB / 0.8385 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000945/0.8127, allocations: 1.181 MB / 0.8396 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.8129, allocations: 65.09 kB / 0.8397 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of SimCode: time 1.202e-06/0.8129, allocations: 0 / 0.8397 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.06815/0.881, allocations: 64.37 MB / 0.9025 GB, free: 164 kB / 0.67 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)