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.001369/0.001369, allocations: 106 kB / 16.27 MB, free: 6.41 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.001357/0.001357, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002188/0.002188, allocations: 298.1 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9299/0.9299, allocations: 169.3 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 89.89 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 86.97 MB / 0.6808 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.4675/0.64, allocations: 161.5 MB / 0.8386 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002996/0.643, allocations: 1.708 MB / 0.8402 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.6434, allocations: 11.94 kB / 0.8402 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.6441, allocations: 162.9 kB / 0.8404 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.6454, allocations: 0.5017 MB / 0.8409 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.6465, allocations: 418.5 kB / 0.8413 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.6473, allocations: 0.5732 MB / 0.8418 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003884/0.6477, allocations: 180.5 kB / 0.842 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006266/0.6483, allocations: 314.8 kB / 0.8423 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.6485, allocations: 151.2 kB / 0.8425 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.6486, allocations: 16 kB / 0.8425 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.6497, allocations: 0.6937 MB / 0.8431 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.6499, allocations: 79.78 kB / 0.8432 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.65, allocations: 123.3 kB / 0.8433 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007761/0.6508, allocations: 498.5 kB / 0.8438 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6508, allocations: 4 kB / 0.8438 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6508, allocations: 0 / 0.8438 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.6508, allocations: 0 / 0.8438 GB, free: 8.309 MB / 0.6075 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.0008394/0.6517, allocations: 0.5806 MB / 0.8444 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6517, allocations: 12.03 kB / 0.8444 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.6521, allocations: 51.67 kB / 0.8444 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.6524, allocations: 293.2 kB / 0.8447 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6525, allocations: 16 kB / 0.8447 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.6525, allocations: 12 kB / 0.8448 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.6529, allocations: 188.6 kB / 0.8449 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6529, allocations: 0 / 0.8449 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.653, allocations: 8 kB / 0.8449 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.653, allocations: 7.938 kB / 0.8449 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.6533, allocations: 135.8 kB / 0.8451 GB, free: 6.918 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.001049/0.6544, allocations: 0.7847 MB / 0.8458 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.6546, allocations: 82.59 kB / 0.8459 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.6548, allocations: 72.81 kB / 0.846 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.6551, allocations: 190.2 kB / 0.8462 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6552, allocations: 38.5 kB / 0.8462 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6552, allocations: 0 / 0.8462 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006799/0.6558, allocations: 229.1 kB / 0.8464 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.6559, allocations: 51.41 kB / 0.8465 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.6562, allocations: 267 kB / 0.8467 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.6562, allocations: 29.7 kB / 0.8468 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.6563, allocations: 147.9 kB / 0.8469 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.6563, allocations: 35.48 kB / 0.8469 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.6564, allocations: 25.72 kB / 0.847 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6566, allocations: 338.8 kB / 0.8473 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.6567, allocations: 40.83 kB / 0.8473 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.6569, allocations: 93.11 kB / 0.8474 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.6572, allocations: 123.3 kB / 0.8475 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6572, allocations: 0 / 0.8475 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000353/0.6576, allocations: 165.2 kB / 0.8477 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.6576, allocations: 4 kB / 0.8477 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6576, allocations: 0 / 0.8477 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6577, allocations: 11.97 kB / 0.8477 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.6578, allocations: 19.98 kB / 0.8477 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6578, allocations: 0 / 0.8477 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.658, allocations: 24.64 kB / 0.8477 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.6581, allocations: 7.984 kB / 0.8477 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001931/0.6583, allocations: 144.1 kB / 0.8479 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001618/0.6584, allocations: 97.05 kB / 0.848 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002396/0.6587, allocations: 116 kB / 0.8481 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.6587, allocations: 0 / 0.8481 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003287/0.659, allocations: 157.3 kB / 0.8482 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.659, allocations: 4 kB / 0.8482 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.659, allocations: 4 kB / 0.8482 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.6591, allocations: 3.984 kB / 0.8483 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.6592, allocations: 25.55 kB / 0.8483 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6592, allocations: 11.88 kB / 0.8483 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.6594, allocations: 23.86 kB / 0.8483 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.6594, allocations: 4 kB / 0.8483 GB, free: 3.348 MB / 0.6075 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.606e-05/0.6595, allocations: 188.8 kB / 0.8485 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.6595, allocations: 19.72 kB / 0.8485 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.6599, allocations: 163.3 kB / 0.8487 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.6599, allocations: 4.219 kB / 0.8487 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6599, allocations: 0 / 0.8487 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.6599, allocations: 3.984 kB / 0.8487 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008669/0.6608, allocations: 0.586 MB / 0.8492 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.6608, allocations: 4.219 kB / 0.8493 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.6609, allocations: 31.92 kB / 0.8493 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.661, allocations: 4 kB / 0.8493 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.661, allocations: 0.875 kB / 0.8493 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.661, allocations: 4 kB / 0.8493 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.661, allocations: 4 kB / 0.8493 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.6614, allocations: 297.1 kB / 0.8496 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.994e-05/0.6615, allocations: 112.8 kB / 0.8497 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.6615, allocations: 11.94 kB / 0.8497 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6617, allocations: 16.92 kB / 0.8497 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.6618, allocations: 15.92 kB / 0.8497 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6618, allocations: 4 kB / 0.8497 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001797/0.662, allocations: 197.9 kB / 0.8499 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.662, allocations: 4 kB / 0.8499 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004929/0.6625, allocations: 87.84 kB / 0.85 GB, free: 1.465 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: 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.0003776/0.6629, allocations: 176.4 kB / 0.8502 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.6634, allocations: 168.2 kB / 0.8503 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6634, allocations: 0 / 0.8503 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.6635, allocations: 60.39 kB / 0.8504 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.6643, allocations: 119.2 kB / 0.8505 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.665, allocations: 479.1 kB / 0.851 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.6653, allocations: 0.7557 MB / 0.8517 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.6654, allocations: 27.44 kB / 0.8517 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.6654, allocations: 0 / 0.8517 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of Templates: time 0.006324/0.6717, allocations: 3.687 MB / 0.8553 GB, free: 11.98 MB / 0.6231 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)