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.0008267/0.0008269, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005801/0.005801, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.335/1.335, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 275.1 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9284/0.9284, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 13.83 kB / 0.5986 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4273/0.5738, allocations: 112.6 MB / 0.795 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03287/0.6067, allocations: 26.39 MB / 0.8208 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005231/0.6119, allocations: 95.84 kB / 0.8209 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.615, allocations: 0.9251 MB / 0.8218 GB, free: 3.824 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.6251, allocations: 3.168 MB / 0.8249 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006213/0.6313, allocations: 2.095 MB / 0.8269 GB, free: 1.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01035/0.6416, allocations: 8.166 MB / 0.8349 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.6445, allocations: 1.544 MB / 0.8364 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006235/0.6508, allocations: 2.256 MB / 0.8386 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004046/0.6548, allocations: 1.714 MB / 0.8403 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/0.6553, allocations: 90.47 kB / 0.8404 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005401/0.6607, allocations: 2.124 MB / 0.8425 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.6612, allocations: 415.7 kB / 0.8429 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.6628, allocations: 1.161 MB / 0.844 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005291/0.6681, allocations: 3.923 MB / 0.8478 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6681, allocations: 7.984 kB / 0.8478 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6681, allocations: 0 / 0.8478 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.207e-05/0.6681, allocations: 0 / 0.8478 GB, free: 6.172 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.004416/0.6725, allocations: 2.431 MB / 0.8502 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.6726, allocations: 6.625 kB / 0.8502 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.673, allocations: 253.5 kB / 0.8505 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/0.6766, allocations: 2.103 MB / 0.8525 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/0.6767, allocations: 103.5 kB / 0.8526 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.6768, allocations: 137.9 kB / 0.8527 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.679, allocations: 1.461 MB / 0.8542 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.6791, allocations: 6.375 kB / 0.8542 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.6792, allocations: 62.34 kB / 0.8542 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.6792, allocations: 34.84 kB / 0.8543 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.681, allocations: 1.03 MB / 0.8553 GB, free: 1.184 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.008311/0.6893, allocations: 8.138 MB / 0.8632 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6908, allocations: 0.8421 MB / 0.864 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005826/0.6914, allocations: 379.8 kB / 0.8644 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001953/0.6933, allocations: 2.811 MB / 0.8671 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.6934, allocations: 43.16 kB / 0.8672 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.915e-06/0.6934, allocations: 0 / 0.8672 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.00217/0.6956, allocations: 1.144 MB / 0.8683 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.6956, allocations: 60.06 kB / 0.8684 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.6978, allocations: 1.61 MB / 0.8699 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.6979, allocations: 45.7 kB / 0.87 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007565/0.6986, allocations: 0.9311 MB / 0.8709 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.6989, allocations: 309.2 kB / 0.8712 GB, free: 300 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.6991, allocations: 89.67 kB / 0.8713 GB, free: 204 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6992, allocations: 353.9 kB / 0.8716 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.6998, allocations: 322.4 kB / 0.8719 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.7007, allocations: 0.715 MB / 0.8726 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.7022, allocations: 1.093 MB / 0.8737 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7022, allocations: 4 kB / 0.8737 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002159/0.7044, allocations: 1.257 MB / 0.8749 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002682/0.7046, allocations: 441.3 kB / 0.8753 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.7047, allocations: 23.92 kB / 0.8754 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.7047, allocations: 16 kB / 0.8754 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.7055, allocations: 263.6 kB / 0.8756 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/0.7056, allocations: 27.88 kB / 0.8756 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.7068, allocations: 190.6 kB / 0.8758 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.7069, allocations: 67.97 kB / 0.8759 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-06/0.707, allocations: 4 kB / 0.8759 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001796/0.7088, allocations: 1.055 MB / 0.8769 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.7088, allocations: 16 kB / 0.8769 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7088, allocations: 20.03 kB / 0.877 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.7096, allocations: 263.5 kB / 0.8772 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.7096, allocations: 23.92 kB / 0.8772 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.7108, allocations: 166.9 kB / 0.8774 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.7109, allocations: 63.97 kB / 0.8775 GB, free: 9.355 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007817/0.7117, allocations: 485.9 kB / 0.8779 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.712, allocations: 185.7 kB / 0.8781 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002888/0.7149, allocations: 1.754 MB / 0.8798 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/0.7149, allocations: 27.97 kB / 0.8798 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.7149, allocations: 4 kB / 0.8798 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001635/0.7166, allocations: 1.154 MB / 0.881 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005171/0.7218, allocations: 3.487 MB / 0.8844 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/0.7218, allocations: 15.98 kB / 0.8844 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/0.7225, allocations: 208.5 kB / 0.8846 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/0.7225, allocations: 12 kB / 0.8846 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.7226, allocations: 43.98 kB / 0.8846 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.7226, allocations: 11.94 kB / 0.8846 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.7227, allocations: 8 kB / 0.8847 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.7257, allocations: 2.253 MB / 0.8869 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007214/0.7265, allocations: 470 kB / 0.8873 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.7267, allocations: 28 kB / 0.8873 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009733/0.7277, allocations: 106.7 kB / 0.8874 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.7279, allocations: 116.7 kB / 0.8875 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.728, allocations: 59.97 kB / 0.8876 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001512/0.7295, allocations: 1.075 MB / 0.8887 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.573e-06/0.7295, allocations: 0 / 0.8887 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002817/0.7323, allocations: 1.135 MB / 0.8898 GB, free: 12.43 MB / 0.6075 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 (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.001364/0.7337, allocations: 0.7823 MB / 0.8905 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.7365, allocations: 1.812 MB / 0.8923 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7365, allocations: 0 / 0.8923 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.7377, allocations: 0.8307 MB / 0.8931 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005891/0.7436, allocations: 0.9326 MB / 0.894 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006215/0.7498, allocations: 4.466 MB / 0.8984 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009656/0.7508, allocations: 1.44 MB / 0.8998 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002012/0.7528, allocations: 0.5464 MB / 0.9003 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.7532, allocations: 183.3 kB / 0.9005 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.7532, allocations: 0 / 0.9005 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of Templates: time 0.06541/0.8186, allocations: 41.5 MB / 0.941 GB, free: 8.391 MB / 0.6544 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)