Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.000857/0.0008573, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005881/0.005881, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.527/1.527, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.03/1.03, allocations: 143.2 MB / 434.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 8 kB / 0.5164 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1965, allocations: 83.41 MB / 0.5978 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.5147/0.7113, allocations: 112.6 MB / 0.7078 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0435/0.7549, allocations: 26.41 MB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006667/0.7616, allocations: 99.59 kB / 0.7337 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004582/0.7662, allocations: 0.9227 MB / 0.7346 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.7793, allocations: 3.158 MB / 0.7376 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007528/0.7868, allocations: 2.102 MB / 0.7397 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.7982, allocations: 8.15 MB / 0.7477 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.8015, allocations: 1.555 MB / 0.7492 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006647/0.8081, allocations: 2.263 MB / 0.7514 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00434/0.8125, allocations: 1.711 MB / 0.7531 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006018/0.8132, allocations: 92 kB / 0.7531 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006187/0.8194, allocations: 2.128 MB / 0.7552 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007804/0.8202, allocations: 417.9 kB / 0.7556 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002382/0.8226, allocations: 1.16 MB / 0.7568 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007273/0.8299, allocations: 4.096 MB / 0.7608 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8299, allocations: 0 / 0.7608 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8299, allocations: 0 / 0.7608 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.09e-05/0.83, allocations: 0 / 0.7608 GB, free: 5.105 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005098/0.8351, allocations: 2.43 MB / 0.7631 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.8351, allocations: 12.03 kB / 0.7631 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.8358, allocations: 253 kB / 0.7634 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004076/0.8398, allocations: 2.112 MB / 0.7654 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.8399, allocations: 102.6 kB / 0.7655 GB, free: 92 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.8402, allocations: 144.1 kB / 0.7657 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.8427, allocations: 1.454 MB / 0.7671 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.8428, allocations: 7.875 kB / 0.7671 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.8429, allocations: 60 kB / 0.7672 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/0.8429, allocations: 35.98 kB / 0.7672 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.8448, allocations: 1.04 MB / 0.7682 GB, free: 13.27 MB / 0.5919 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.008851/0.8537, allocations: 8.163 MB / 0.7762 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.8551, allocations: 0.8417 MB / 0.777 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.8557, allocations: 385 kB / 0.7774 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/0.8579, allocations: 2.795 MB / 0.7801 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.8579, allocations: 47.22 kB / 0.7802 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 2.995e-06/0.858, allocations: 4 kB / 0.7802 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002425/0.8604, allocations: 1.144 MB / 0.7813 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.8605, allocations: 64.06 kB / 0.7813 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.8629, allocations: 1.613 MB / 0.7829 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.863, allocations: 41.7 kB / 0.7829 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000798/0.8638, allocations: 0.9237 MB / 0.7839 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.8642, allocations: 307.6 kB / 0.7841 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.8643, allocations: 97.66 kB / 0.7842 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8645, allocations: 345.9 kB / 0.7846 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.8651, allocations: 326.4 kB / 0.7849 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009647/0.8661, allocations: 0.7189 MB / 0.7856 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.8677, allocations: 1.089 MB / 0.7866 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.8677, allocations: 4.766 kB / 0.7866 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002629/0.8703, allocations: 1.257 MB / 0.7879 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.8707, allocations: 449.3 kB / 0.7883 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/0.8708, allocations: 19.94 kB / 0.7883 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.79e-05/0.8708, allocations: 16 kB / 0.7883 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.8716, allocations: 267.6 kB / 0.7886 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.8717, allocations: 23.92 kB / 0.7886 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.8731, allocations: 186.5 kB / 0.7888 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.8733, allocations: 67.97 kB / 0.7889 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8733, allocations: 4.625 kB / 0.7889 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001756/0.875, allocations: 1.062 MB / 0.7899 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/0.8751, allocations: 16 kB / 0.7899 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.8751, allocations: 16 kB / 0.7899 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.8759, allocations: 267.5 kB / 0.7902 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.8759, allocations: 23.92 kB / 0.7902 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.8773, allocations: 163.1 kB / 0.7904 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.8774, allocations: 67.97 kB / 0.7904 GB, free: 4.559 MB / 0.6075 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.0009421/0.8784, allocations: 480.6 kB / 0.7909 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.8787, allocations: 185.8 kB / 0.7911 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.8817, allocations: 1.755 MB / 0.7928 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.8817, allocations: 19.98 kB / 0.7928 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.8818, allocations: 11.92 kB / 0.7928 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001712/0.8835, allocations: 1.146 MB / 0.7939 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006934/0.8904, allocations: 3.502 MB / 0.7973 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/0.8905, allocations: 28.02 kB / 0.7974 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007181/0.8912, allocations: 195.7 kB / 0.7976 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.8913, allocations: 8 kB / 0.7976 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/0.8913, allocations: 47.97 kB / 0.7976 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.8914, allocations: 12 kB / 0.7976 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.8914, allocations: 11.94 kB / 0.7976 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.8949, allocations: 2.246 MB / 0.7998 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.8961, allocations: 481.9 kB / 0.8003 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.8963, allocations: 31.98 kB / 0.8003 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.8973, allocations: 99.84 kB / 0.8004 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.8976, allocations: 120.7 kB / 0.8005 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.8977, allocations: 63.97 kB / 0.8006 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00164/0.8993, allocations: 1.075 MB / 0.8016 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8994, allocations: 0 / 0.8016 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003374/0.9027, allocations: 1.119 MB / 0.8027 GB, free: 7.629 MB / 0.6231 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.00164/0.9044, allocations: 0.8173 MB / 0.8035 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003082/0.9075, allocations: 1.808 MB / 0.8053 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9075, allocations: 0 / 0.8053 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.9087, allocations: 0.8348 MB / 0.8061 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006692/0.9154, allocations: 0.9309 MB / 0.807 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/0.9221, allocations: 4.461 MB / 0.8114 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009927/0.9232, allocations: 1.436 MB / 0.8128 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0023/0.9255, allocations: 0.5442 MB / 0.8133 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.9259, allocations: 187.3 kB / 0.8135 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of SimCode: time 1.322e-06/0.9259, allocations: 0 / 0.8135 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of Templates: time 0.07504/1.001, allocations: 42.15 MB / 0.8547 GB, free: 2.84 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)