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.0008258/0.0008258, allocations: 86.95 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.0008852/0.0008852, 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.149/1.149, allocations: 223.3 MB / 240 MB, free: 5.305 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 0.8532/0.8532, allocations: 143.2 MB / 434.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002679, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 83.41 MB / 0.5972 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.2896/0.4166, allocations: 106.4 MB / 0.7011 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03045/0.447, allocations: 24.93 MB / 0.7255 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/0.4507, allocations: 104 kB / 0.7256 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.4529, allocations: 0.7873 MB / 0.7263 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006589/0.4595, allocations: 2.729 MB / 0.729 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.464, allocations: 1.672 MB / 0.7306 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007278/0.4713, allocations: 7.022 MB / 0.7375 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.4732, allocations: 1.413 MB / 0.7389 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/0.4772, allocations: 2.125 MB / 0.7409 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/0.4801, allocations: 1.61 MB / 0.7425 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.4804, allocations: 92 kB / 0.7426 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.4843, allocations: 1.563 MB / 0.7441 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.4847, allocations: 394.1 kB / 0.7445 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.4853, allocations: 488.5 kB / 0.745 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.4883, allocations: 3.031 MB / 0.7479 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4884, allocations: 0 / 0.7479 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4884, allocations: 4 kB / 0.7479 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.027e-05/0.4884, allocations: 0 / 0.7479 GB, free: 2.156 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.003926/0.4923, allocations: 2.442 MB / 0.7503 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.4924, allocations: 16.02 kB / 0.7503 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004263/0.4928, allocations: 265 kB / 0.7506 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.4961, allocations: 2.036 MB / 0.7526 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.4961, allocations: 110.5 kB / 0.7527 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.4963, allocations: 140 kB / 0.7528 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.4984, allocations: 1.446 MB / 0.7542 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.4984, allocations: 11.83 kB / 0.7542 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.4985, allocations: 56 kB / 0.7543 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.4986, allocations: 36 kB / 0.7543 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.5002, allocations: 1.029 MB / 0.7553 GB, free: 10.39 MB / 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.00713/0.5073, allocations: 8.151 MB / 0.7633 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.5086, allocations: 0.8463 MB / 0.7641 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/0.5092, allocations: 369 kB / 0.7645 GB, free: 312 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001913/0.5111, allocations: 2.814 MB / 0.7672 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5111, allocations: 43.22 kB / 0.7672 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.194e-06/0.5111, allocations: 0 / 0.7672 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.001808/0.513, allocations: 1.14 MB / 0.7684 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.513, allocations: 60.06 kB / 0.7684 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.5148, allocations: 1.594 MB / 0.77 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.5149, allocations: 41.7 kB / 0.77 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.5156, allocations: 0.9238 MB / 0.7709 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.5158, allocations: 307.5 kB / 0.7712 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.5159, allocations: 24 kB / 0.7712 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.516, allocations: 345.9 kB / 0.7716 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.5165, allocations: 318.4 kB / 0.7719 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007624/0.5173, allocations: 0.715 MB / 0.7726 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.5179, allocations: 438.8 kB / 0.773 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.518, allocations: 4 kB / 0.773 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00178/0.5197, allocations: 1.249 MB / 0.7742 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002398/0.52, allocations: 442.3 kB / 0.7746 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.52, allocations: 18.81 kB / 0.7746 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.5201, allocations: 16 kB / 0.7747 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.5208, allocations: 267.5 kB / 0.7749 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.5208, allocations: 27.92 kB / 0.7749 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.5218, allocations: 186.6 kB / 0.7751 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.5219, allocations: 67.98 kB / 0.7752 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.5219, allocations: 4 kB / 0.7752 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/0.5234, allocations: 1.051 MB / 0.7762 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.5235, allocations: 23.92 kB / 0.7762 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5235, allocations: 20 kB / 0.7763 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.5242, allocations: 259.6 kB / 0.7765 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.5242, allocations: 23.94 kB / 0.7765 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.525, allocations: 167 kB / 0.7767 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.5251, allocations: 63.98 kB / 0.7767 GB, free: 2.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000548/0.5257, allocations: 484.6 kB / 0.7772 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.5259, allocations: 189.7 kB / 0.7774 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.5286, allocations: 1.759 MB / 0.7791 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.5286, allocations: 23.94 kB / 0.7791 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5286, allocations: 4 kB / 0.7791 GB, free: 224 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/0.5301, allocations: 1.142 MB / 0.7803 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/0.5345, allocations: 3.49 MB / 0.7837 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.5345, allocations: 12 kB / 0.7837 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.5352, allocations: 207.8 kB / 0.7839 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.5352, allocations: 12 kB / 0.7839 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.5353, allocations: 39.98 kB / 0.7839 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.5353, allocations: 19.92 kB / 0.7839 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5353, allocations: 7.938 kB / 0.7839 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.538, allocations: 2.23 MB / 0.7861 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.5385, allocations: 485.9 kB / 0.7866 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.5387, allocations: 28 kB / 0.7866 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008063/0.5396, allocations: 104.3 kB / 0.7867 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5397, allocations: 116.7 kB / 0.7868 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.922e-05/0.5398, allocations: 59.97 kB / 0.7869 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001247/0.5411, allocations: 1.063 MB / 0.7879 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5411, allocations: 0 / 0.7879 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002339/0.5434, allocations: 1.123 MB / 0.789 GB, free: 5.762 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 (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.001093/0.5445, allocations: 0.7721 MB / 0.7898 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.5469, allocations: 1.797 MB / 0.7915 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.5469, allocations: 4.375 kB / 0.7915 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.548, allocations: 0.8222 MB / 0.7923 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.5514, allocations: 0.931 MB / 0.7932 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.5564, allocations: 4.4 MB / 0.7975 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.5573, allocations: 1.436 MB / 0.7989 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001696/0.559, allocations: 0.5399 MB / 0.7995 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.5593, allocations: 183.3 kB / 0.7996 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.603e-06/0.5593, allocations: 4 kB / 0.7996 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.05376/0.6131, allocations: 40.56 MB / 0.8393 GB, free: 2.703 MB / 0.6544 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)