Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007522/0.0007521, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008119/0.0008121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 274 kB / 291.4 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004585, allocations: 14.62 kB / 0.598 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5628/0.7791, allocations: 106.3 MB / 0.7883 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03878/0.8179, allocations: 24.92 MB / 0.8127 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007731/0.8257, allocations: 99.5 kB / 0.8127 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.8305, allocations: 0.7817 MB / 0.8135 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01178/0.8423, allocations: 2.732 MB / 0.8162 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007404/0.8497, allocations: 1.668 MB / 0.8178 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01326/0.863, allocations: 7.016 MB / 0.8247 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.8669, allocations: 1.423 MB / 0.8261 GB, free: 4.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007079/0.874, allocations: 2.13 MB / 0.8281 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005388/0.8794, allocations: 1.604 MB / 0.8297 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.8803, allocations: 91.5 kB / 0.8298 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006694/0.887, allocations: 1.57 MB / 0.8313 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007411/0.8878, allocations: 390.8 kB / 0.8317 GB, free: 1.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.8893, allocations: 483.8 kB / 0.8322 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00544/0.8948, allocations: 2.87 MB / 0.835 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.8948, allocations: 0 / 0.835 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8948, allocations: 0 / 0.835 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.135e-05/0.8949, allocations: 0 / 0.835 GB, free: 15.46 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005476/0.9004, allocations: 2.451 MB / 0.8373 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9004, allocations: 9.969 kB / 0.8374 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006585/0.9011, allocations: 250.9 kB / 0.8376 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.9057, allocations: 2.028 MB / 0.8396 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.9058, allocations: 103.8 kB / 0.8397 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.906, allocations: 141.5 kB / 0.8398 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.9088, allocations: 1.455 MB / 0.8412 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.9088, allocations: 6.75 kB / 0.8412 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.9089, allocations: 58.06 kB / 0.8413 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.909, allocations: 35.44 kB / 0.8413 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.9108, allocations: 1.024 MB / 0.8423 GB, free: 10.54 MB / 0.5606 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.009864/0.9207, allocations: 8.129 MB / 0.8503 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.9222, allocations: 0.8384 MB / 0.8511 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.9228, allocations: 385.9 kB / 0.8515 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.925, allocations: 2.803 MB / 0.8542 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.9251, allocations: 51.06 kB / 0.8542 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.386e-06/0.9251, allocations: 0 / 0.8542 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.002451/0.9276, allocations: 1.134 MB / 0.8553 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.9276, allocations: 62.25 kB / 0.8554 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.9299, allocations: 1.588 MB / 0.857 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.524e-05/0.93, allocations: 42.8 kB / 0.857 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/0.9308, allocations: 0.9261 MB / 0.8579 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.9312, allocations: 308.5 kB / 0.8582 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.9312, allocations: 22.62 kB / 0.8582 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.9314, allocations: 346.6 kB / 0.8585 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.9319, allocations: 323.4 kB / 0.8589 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008461/0.9328, allocations: 0.7105 MB / 0.8595 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.9335, allocations: 443.2 kB / 0.86 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.9335, allocations: 7.953 kB / 0.86 GB, free: 11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002205/0.9358, allocations: 1.245 MB / 0.8612 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003514/0.9361, allocations: 436.9 kB / 0.8616 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/0.9362, allocations: 19.94 kB / 0.8616 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.9362, allocations: 20 kB / 0.8617 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.9371, allocations: 267.5 kB / 0.8619 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/0.9371, allocations: 23.92 kB / 0.8619 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.9386, allocations: 186.7 kB / 0.8621 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.9388, allocations: 59.98 kB / 0.8622 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.9388, allocations: 4 kB / 0.8622 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/0.9405, allocations: 1.054 MB / 0.8632 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.9406, allocations: 15.95 kB / 0.8632 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.9406, allocations: 20 kB / 0.8632 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000767/0.9414, allocations: 264 kB / 0.8635 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.9414, allocations: 27.92 kB / 0.8635 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.9428, allocations: 166.8 kB / 0.8637 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.9429, allocations: 67.98 kB / 0.8637 GB, free: 7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009972/0.9439, allocations: 469.4 kB / 0.8642 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.9442, allocations: 189.7 kB / 0.8644 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.9472, allocations: 1.778 MB / 0.8661 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.9472, allocations: 19.98 kB / 0.8661 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.9472, allocations: 0 / 0.8661 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001601/0.9488, allocations: 1.142 MB / 0.8672 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.9544, allocations: 3.476 MB / 0.8706 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.9545, allocations: 8 kB / 0.8706 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007024/0.9552, allocations: 203.7 kB / 0.8708 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.9552, allocations: 12 kB / 0.8708 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/0.9553, allocations: 43.97 kB / 0.8709 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/0.9553, allocations: 15.94 kB / 0.8709 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/0.9553, allocations: 16.12 kB / 0.8709 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.9585, allocations: 2.234 MB / 0.8731 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/0.9595, allocations: 470 kB / 0.8735 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.9597, allocations: 44.11 kB / 0.8736 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/0.9606, allocations: 87.84 kB / 0.8737 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.9608, allocations: 128.7 kB / 0.8738 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.9609, allocations: 55.97 kB / 0.8738 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001637/0.9626, allocations: 1.063 MB / 0.8749 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9626, allocations: 0 / 0.8749 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003252/0.9659, allocations: 1.119 MB / 0.876 GB, free: 10.13 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/0.9674, allocations: 0.7542 MB / 0.8767 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003042/0.9705, allocations: 1.803 MB / 0.8785 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9705, allocations: 4 kB / 0.8785 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.9718, allocations: 0.8275 MB / 0.8793 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/0.9768, allocations: 0.9175 MB / 0.8802 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/0.9847, allocations: 4.399 MB / 0.8845 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.9864, allocations: 1.436 MB / 0.8859 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003209/0.9897, allocations: 0.5435 MB / 0.8864 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/0.9903, allocations: 187.4 kB / 0.8866 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of SimCode: time 2.024e-06/0.9903, allocations: 0 / 0.8866 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.07549/1.066, allocations: 39.91 MB / 0.9256 GB, free: 7.82 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)