Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001972/0.001972, allocations: 198.1 kB / 16.14 MB, free: 6.695 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.652 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001717, allocations: 58.95 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3489, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1018/0.4508, allocations: 114.4 MB / 1.179 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0343/0.4851, allocations: 26.68 MB / 1.205 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.4896, allocations: 103.4 kB / 1.205 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003496/0.4932, allocations: 0.9284 MB / 1.206 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008586/0.5018, allocations: 3.155 MB / 1.209 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005909/0.5077, allocations: 2.1 MB / 1.211 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009517/0.5172, allocations: 8.156 MB / 1.219 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.5203, allocations: 1.583 MB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005331/0.5257, allocations: 2.302 MB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.5288, allocations: 1.766 MB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.5294, allocations: 116 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005193/0.5346, allocations: 2.148 MB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007654/0.5354, allocations: 449.9 kB / 1.228 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002105/0.5375, allocations: 1.17 MB / 1.229 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007152/0.5447, allocations: 4 MB / 1.233 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5447, allocations: 0 / 1.233 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5447, allocations: 0 / 1.233 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001144/0.5449, allocations: 4 kB / 1.233 GB, free: 1.316 MB / 0.9825 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.006645/0.5515, allocations: 2.83 MB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5516, allocations: 12.02 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008042/0.5524, allocations: 253.1 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/0.5567, allocations: 2.091 MB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.5568, allocations: 106.7 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.557, allocations: 132 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.5596, allocations: 1.465 MB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/0.5596, allocations: 7.922 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.5598, allocations: 59.94 kB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.5598, allocations: 36 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.5619, allocations: 1.021 MB / 1.24 GB, free: 9.113 MB / 0.9981 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.00934/0.5712, allocations: 8.12 MB / 1.248 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6406/1.212, allocations: 0.8278 MB / 1.249 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/1.213, allocations: 386.2 kB / 1.25 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/1.214, allocations: 2.802 MB / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.214, allocations: 44.12 kB / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.056e-06/1.214, allocations: 0 / 1.252 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.002741/1.217, allocations: 1.127 MB / 1.253 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.217, allocations: 67.69 kB / 1.254 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/1.22, allocations: 1.6 MB / 1.255 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.96e-05/1.22, allocations: 41.61 kB / 1.255 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/1.22, allocations: 0.9366 MB / 1.256 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/1.221, allocations: 305.8 kB / 1.256 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/1.221, allocations: 232.2 kB / 1.257 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/1.221, allocations: 349.1 kB / 1.257 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/1.222, allocations: 325.1 kB / 1.257 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/1.223, allocations: 0.7155 MB / 1.258 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.224, allocations: 1.083 MB / 1.259 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/1.224, allocations: 7.219 kB / 1.259 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002238/1.226, allocations: 1.238 MB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.226, allocations: 12.09 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/1.227, allocations: 16.36 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.227, allocations: 19.45 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/1.227, allocations: 273.3 kB / 1.26 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/1.227, allocations: 19.69 kB / 1.26 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.229, allocations: 184.6 kB / 1.261 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.229, allocations: 69.7 kB / 1.261 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009998/1.23, allocations: 0.6195 MB / 1.261 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007122/1.23, allocations: 0.7052 MB / 1.262 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/1.232, allocations: 1.085 MB / 1.263 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.424e-06/1.232, allocations: 5.375 kB / 1.263 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.00202/1.234, allocations: 1.24 MB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.234, allocations: 10.12 kB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/1.234, allocations: 14.34 kB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.234, allocations: 19.41 kB / 1.264 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007783/1.235, allocations: 262.3 kB / 1.265 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/1.235, allocations: 24.06 kB / 1.265 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/1.236, allocations: 150.9 kB / 1.265 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.236, allocations: 65.78 kB / 1.265 GB, free: 170.6 MB / 0.9981 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.0002722/1.236, allocations: 262.3 kB / 1.265 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/1.237, allocations: 189.8 kB / 1.265 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/1.24, allocations: 1.739 MB / 1.267 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/1.24, allocations: 22.77 kB / 1.267 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.24, allocations: 0 / 1.267 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001888/1.242, allocations: 1.142 MB / 1.268 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/1.249, allocations: 3.481 MB / 1.271 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/1.249, allocations: 12.27 kB / 1.271 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/1.25, allocations: 199.9 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.26e-05/1.25, allocations: 11.66 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.271e-05/1.25, allocations: 40.81 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.222e-05/1.25, allocations: 16.42 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/1.25, allocations: 12.75 kB / 1.272 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004703/1.254, allocations: 2.23 MB / 1.274 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.256, allocations: 446.2 kB / 1.274 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/1.256, allocations: 30 kB / 1.274 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.257, allocations: 94.97 kB / 1.274 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/1.257, allocations: 125.3 kB / 1.275 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.257, allocations: 58.58 kB / 1.275 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002179/1.26, allocations: 1.076 MB / 1.276 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.362e-06/1.26, allocations: 5.031 kB / 1.276 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004189/1.264, allocations: 1.127 MB / 1.277 GB, free: 165.1 MB / 0.9981 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.002088/1.266, allocations: 0.7834 MB / 1.278 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00358/1.27, allocations: 1.796 MB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.27, allocations: 2.781 kB / 1.279 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.271, allocations: 0.8223 MB / 1.28 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/1.276, allocations: 0.918 MB / 1.281 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/1.282, allocations: 4.373 MB / 1.285 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/1.283, allocations: 1.433 MB / 1.287 GB, free: 160 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002636/1.286, allocations: 0.5442 MB / 1.287 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/1.286, allocations: 191.8 kB / 1.287 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.42e-07/1.286, allocations: 1.531 kB / 1.287 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06531/1.352, allocations: 41.1 MB / 1.328 GB, free: 130.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)