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.001756/0.001763, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002362/0.002362, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 279 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 105.1 kB / 0.6059 GB, free: 25.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1597, allocations: 89.15 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.479/0.6387, allocations: 159.3 MB / 0.8485 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.6417, allocations: 1.691 MB / 0.8502 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.6419, allocations: 9.281 kB / 0.8502 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.6424, allocations: 134.8 kB / 0.8503 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.6436, allocations: 498.5 kB / 0.8508 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009827/0.6446, allocations: 382.7 kB / 0.8512 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000692/0.6453, allocations: 0.5669 MB / 0.8517 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.6456, allocations: 175.5 kB / 0.8519 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006467/0.6463, allocations: 322.4 kB / 0.8522 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.6465, allocations: 159.3 kB / 0.8524 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.6466, allocations: 13.09 kB / 0.8524 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.6477, allocations: 0.7137 MB / 0.8531 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.6479, allocations: 77.44 kB / 0.8531 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.648, allocations: 116.2 kB / 0.8532 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.6488, allocations: 0.5257 MB / 0.8538 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6488, allocations: 2.281 kB / 0.8538 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6488, allocations: 4 kB / 0.8538 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.6488, allocations: 0 / 0.8538 GB, free: 1.203 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.0008707/0.6497, allocations: 0.5773 MB / 0.8543 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6497, allocations: 8.938 kB / 0.8543 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/0.6501, allocations: 54.09 kB / 0.8544 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.6504, allocations: 297.2 kB / 0.8547 GB, free: 360 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.6505, allocations: 15.16 kB / 0.8547 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.6505, allocations: 14.62 kB / 0.8547 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.6509, allocations: 186.8 kB / 0.8549 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6509, allocations: 2.719 kB / 0.8549 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.6509, allocations: 4 kB / 0.8549 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.6509, allocations: 4.312 kB / 0.8549 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.6512, allocations: 128.2 kB / 0.855 GB, free: 152 kB / 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.00106/0.6523, allocations: 0.7907 MB / 0.8558 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.6525, allocations: 86.47 kB / 0.8559 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.6527, allocations: 73.44 kB / 0.8559 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.653, allocations: 190.2 kB / 0.8561 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.6531, allocations: 38.19 kB / 0.8562 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6531, allocations: 0 / 0.8562 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006362/0.6537, allocations: 214.6 kB / 0.8564 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.6538, allocations: 51.41 kB / 0.8564 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.6541, allocations: 276.3 kB / 0.8567 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.6541, allocations: 25.7 kB / 0.8567 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.6542, allocations: 145 kB / 0.8568 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.6543, allocations: 40.2 kB / 0.8569 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.6543, allocations: 31.36 kB / 0.8569 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6545, allocations: 332.5 kB / 0.8572 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.6546, allocations: 51.55 kB / 0.8573 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.6548, allocations: 88.55 kB / 0.8574 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.6551, allocations: 117.4 kB / 0.8575 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6551, allocations: 4 kB / 0.8575 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000333/0.6554, allocations: 160 kB / 0.8576 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6555, allocations: 7.219 kB / 0.8576 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6555, allocations: 5.125 kB / 0.8576 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.6555, allocations: 6.828 kB / 0.8576 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.6556, allocations: 28.98 kB / 0.8577 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6556, allocations: 0 / 0.8577 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.6558, allocations: 22.56 kB / 0.8577 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.6559, allocations: 4.688 kB / 0.8577 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002047/0.6561, allocations: 153 kB / 0.8578 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001517/0.6562, allocations: 88.39 kB / 0.8579 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002357/0.6565, allocations: 126 kB / 0.858 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.283e-06/0.6565, allocations: 0 / 0.858 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000338/0.6568, allocations: 153 kB / 0.8582 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.6569, allocations: 5.094 kB / 0.8582 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.6569, allocations: 5.969 kB / 0.8582 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-06/0.6569, allocations: 2.656 kB / 0.8582 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.657, allocations: 18.45 kB / 0.8582 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.657, allocations: 6.844 kB / 0.8582 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.6572, allocations: 26.03 kB / 0.8583 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.6572, allocations: 2.719 kB / 0.8583 GB, free: 13.47 MB / 0.5919 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 0.0001344/0.6573, allocations: 189.8 kB / 0.8584 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.6574, allocations: 25.56 kB / 0.8585 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.6578, allocations: 162.4 kB / 0.8586 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.6578, allocations: 3.938 kB / 0.8586 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6578, allocations: 0 / 0.8586 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6578, allocations: 0 / 0.8586 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009442/0.6587, allocations: 0.5893 MB / 0.8592 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6588, allocations: 4.688 kB / 0.8592 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.6589, allocations: 19.7 kB / 0.8592 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6589, allocations: 6.312 kB / 0.8592 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.6589, allocations: 10.84 kB / 0.8592 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.6589, allocations: 3.938 kB / 0.8592 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6589, allocations: 2.906 kB / 0.8592 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.6593, allocations: 299.5 kB / 0.8595 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6595, allocations: 117 kB / 0.8596 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.6595, allocations: 4.688 kB / 0.8596 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.6597, allocations: 15.89 kB / 0.8597 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.6598, allocations: 20.17 kB / 0.8597 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.6598, allocations: 5.875 kB / 0.8597 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001976/0.66, allocations: 197.9 kB / 0.8599 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.66, allocations: 0 / 0.8599 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004752/0.6605, allocations: 93.62 kB / 0.86 GB, free: 12.06 MB / 0.5919 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.0003765/0.6609, allocations: 170.2 kB / 0.8601 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.6613, allocations: 168.2 kB / 0.8603 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6613, allocations: 0 / 0.8603 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.6615, allocations: 63.55 kB / 0.8603 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.6622, allocations: 127.5 kB / 0.8605 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008164/0.6631, allocations: 0.5073 MB / 0.861 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.6635, allocations: 0.758 MB / 0.8617 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.6638, allocations: 61.67 kB / 0.8618 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.6638, allocations: 19.62 kB / 0.8618 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.6638, allocations: 4 kB / 0.8618 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.008868/0.6727, allocations: 4.306 MB / 0.866 GB, free: 8.473 MB / 0.5919 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)