Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001083/0.001083, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 276.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9744/0.9744, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 86.73 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1731, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.4844/0.6576, allocations: 159.3 MB / 0.835 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.6602, allocations: 1.723 MB / 0.8366 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.6605, allocations: 9.875 kB / 0.8366 GB, free: 0 / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.6611, allocations: 130.4 kB / 0.8368 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.6624, allocations: 491 kB / 0.8372 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000952/0.6633, allocations: 379.6 kB / 0.8376 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000856/0.6642, allocations: 0.7559 MB / 0.8383 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.6645, allocations: 151.5 kB / 0.8385 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.665, allocations: 291.8 kB / 0.8388 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.6652, allocations: 168.3 kB / 0.8389 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.6653, allocations: 8.5 kB / 0.8389 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.6664, allocations: 0.7739 MB / 0.8397 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.6666, allocations: 72.75 kB / 0.8398 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.6667, allocations: 114.3 kB / 0.8399 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.6673, allocations: 0.52 MB / 0.8404 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6674, allocations: 0 / 0.8404 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.71e-07/0.6674, allocations: 0 / 0.8404 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6674, allocations: 1.344 kB / 0.8404 GB, free: 15.15 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007656/0.6681, allocations: 0.5846 MB / 0.8409 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.6682, allocations: 9.594 kB / 0.841 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.6685, allocations: 51.41 kB / 0.841 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.6688, allocations: 291.7 kB / 0.8413 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.6689, allocations: 9.875 kB / 0.8413 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.6689, allocations: 17.5 kB / 0.8413 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.6693, allocations: 190.6 kB / 0.8415 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6693, allocations: 1.5 kB / 0.8415 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.6693, allocations: 4.531 kB / 0.8415 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6693, allocations: 7 kB / 0.8415 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.6696, allocations: 129.1 kB / 0.8416 GB, free: 14.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.0009109/0.6705, allocations: 0.7924 MB / 0.8424 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.6708, allocations: 86.41 kB / 0.8425 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.6709, allocations: 73.44 kB / 0.8425 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/0.6713, allocations: 184.2 kB / 0.8427 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.6713, allocations: 44.25 kB / 0.8428 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.6713, allocations: 1.375 kB / 0.8428 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006242/0.6719, allocations: 221 kB / 0.843 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.672, allocations: 52.78 kB / 0.843 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.6722, allocations: 270.5 kB / 0.8433 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.6722, allocations: 27.08 kB / 0.8433 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.808e-05/0.6723, allocations: 149.7 kB / 0.8435 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.6724, allocations: 29.94 kB / 0.8435 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.6724, allocations: 35.48 kB / 0.8435 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6726, allocations: 334.2 kB / 0.8438 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.6727, allocations: 45.39 kB / 0.8439 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.6728, allocations: 93.92 kB / 0.844 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.6731, allocations: 117.4 kB / 0.8441 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6731, allocations: 3.469 kB / 0.8441 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003219/0.6734, allocations: 157.2 kB / 0.8442 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6735, allocations: 5.062 kB / 0.8442 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6735, allocations: 5.266 kB / 0.8442 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6735, allocations: 10.31 kB / 0.8443 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.6736, allocations: 24.27 kB / 0.8443 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6736, allocations: 1.375 kB / 0.8443 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.6738, allocations: 22.2 kB / 0.8443 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.6739, allocations: 7.953 kB / 0.8443 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000181/0.674, allocations: 147.2 kB / 0.8444 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001459/0.6742, allocations: 87.77 kB / 0.8445 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002229/0.6744, allocations: 121.5 kB / 0.8446 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.6744, allocations: 1.5 kB / 0.8446 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003148/0.6748, allocations: 155.8 kB / 0.8448 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.6748, allocations: 5.281 kB / 0.8448 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6748, allocations: 5.328 kB / 0.8448 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.6748, allocations: 5.5 kB / 0.8448 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.6749, allocations: 28.64 kB / 0.8448 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.6749, allocations: 5.469 kB / 0.8448 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.6751, allocations: 17.52 kB / 0.8449 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.6751, allocations: 7.125 kB / 0.8449 GB, free: 11.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.044e-05/0.6752, allocations: 188.2 kB / 0.845 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.6753, allocations: 23.62 kB / 0.8451 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.6756, allocations: 162.9 kB / 0.8452 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6756, allocations: 7.125 kB / 0.8452 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6756, allocations: 2.719 kB / 0.8452 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6756, allocations: 3.984 kB / 0.8452 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.6765, allocations: 0.5867 MB / 0.8458 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6765, allocations: 1.719 kB / 0.8458 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.6766, allocations: 22.52 kB / 0.8458 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6766, allocations: 6.625 kB / 0.8458 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.6766, allocations: 2.375 kB / 0.8458 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.6766, allocations: 6.969 kB / 0.8458 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6766, allocations: 5.672 kB / 0.8459 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.677, allocations: 299.2 kB / 0.8461 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.6771, allocations: 109.7 kB / 0.8462 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.6771, allocations: 2.906 kB / 0.8462 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.6773, allocations: 25.53 kB / 0.8463 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.6774, allocations: 17 kB / 0.8463 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6774, allocations: 8.078 kB / 0.8463 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001581/0.6776, allocations: 196.1 kB / 0.8465 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6776, allocations: 192 / 0.8465 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004377/0.678, allocations: 93.41 kB / 0.8466 GB, free: 10.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003394/0.6784, allocations: 169.6 kB / 0.8467 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.6788, allocations: 164.9 kB / 0.8469 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6788, allocations: 1.281 kB / 0.8469 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.679, allocations: 66.52 kB / 0.847 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/0.6798, allocations: 124.9 kB / 0.8471 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.6804, allocations: 0.4969 MB / 0.8476 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.6807, allocations: 0.7537 MB / 0.8483 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.6809, allocations: 66.88 kB / 0.8484 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.6809, allocations: 28.5 kB / 0.8484 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of SimCode: time 1.9e-07/0.681, allocations: 0 / 0.8484 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of Templates: time 0.007643/0.6886, allocations: 4.288 MB / 0.8526 GB, free: 7.023 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)