Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008711/0.0008711, allocations: 91.84 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.006921/0.006921, allocations: 169.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.766/1.766, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 12.5 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1205/0.4413, allocations: 112.6 MB / 1.184 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03561/0.4769, allocations: 26.38 MB / 1.21 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005299/0.4823, allocations: 103.4 kB / 1.21 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.4857, allocations: 0.9206 MB / 1.211 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.4962, allocations: 3.157 MB / 1.214 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006262/0.5024, allocations: 2.089 MB / 1.216 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.5126, allocations: 8.155 MB / 1.224 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.516, allocations: 1.55 MB / 1.225 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.5219, allocations: 2.263 MB / 1.228 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.5257, allocations: 1.707 MB / 1.229 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006074/0.5264, allocations: 92 kB / 1.229 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005714/0.5321, allocations: 2.128 MB / 1.232 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008185/0.5329, allocations: 417.9 kB / 1.232 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.5352, allocations: 1.156 MB / 1.233 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006697/0.5419, allocations: 3.929 MB / 1.237 GB, free: 376 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5419, allocations: 0 / 1.237 GB, free: 376 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5419, allocations: 0 / 1.237 GB, free: 376 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.989e-05/0.542, allocations: 3.938 kB / 1.237 GB, free: 372 kB / 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.005902/0.5479, allocations: 2.421 MB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.548, allocations: 8.031 kB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009235/0.5489, allocations: 257.1 kB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005238/0.5542, allocations: 2.103 MB / 1.242 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.5543, allocations: 102.7 kB / 1.242 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.5546, allocations: 135.9 kB / 1.242 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.5576, allocations: 1.469 MB / 1.243 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.727e-05/0.5577, allocations: 4 kB / 1.243 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.5578, allocations: 55.94 kB / 1.243 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/0.5579, allocations: 43.98 kB / 1.243 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.5601, allocations: 1.033 MB / 1.244 GB, free: 8.543 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.6296/1.19, allocations: 8.119 MB / 1.252 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/1.192, allocations: 0.8418 MB / 1.253 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008135/1.193, allocations: 383.8 kB / 1.253 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/1.194, allocations: 2.806 MB / 1.256 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.194, allocations: 42.59 kB / 1.256 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.656e-06/1.194, allocations: 4.812 kB / 1.256 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.002712/1.197, allocations: 1.143 MB / 1.257 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/1.197, allocations: 63.38 kB / 1.257 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/1.2, allocations: 1.608 MB / 1.259 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.2, allocations: 42.39 kB / 1.259 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008489/1.201, allocations: 0.9268 MB / 1.26 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.201, allocations: 307.1 kB / 1.26 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/1.201, allocations: 94.02 kB / 1.26 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/1.201, allocations: 350.5 kB / 1.261 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007956/1.202, allocations: 330.6 kB / 1.261 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/1.203, allocations: 0.715 MB / 1.262 GB, free: 170 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/1.205, allocations: 1.091 MB / 1.263 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.205, allocations: 8.906 kB / 1.263 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002142/1.207, allocations: 1.255 MB / 1.264 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/1.207, allocations: 441.2 kB / 1.264 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/1.207, allocations: 19.22 kB / 1.264 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/1.207, allocations: 15.75 kB / 1.264 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/1.208, allocations: 266.4 kB / 1.265 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.739e-05/1.208, allocations: 22.28 kB / 1.265 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.21, allocations: 190.3 kB / 1.265 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.21, allocations: 68.06 kB / 1.265 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/1.21, allocations: 3.125 kB / 1.265 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/1.211, allocations: 1.061 MB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/1.211, allocations: 19.77 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.211, allocations: 20.67 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/1.212, allocations: 261.7 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.212, allocations: 22.83 kB / 1.266 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.213, allocations: 168.6 kB / 1.266 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/1.214, allocations: 68.41 kB / 1.266 GB, free: 168 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.0008303/1.214, allocations: 474.6 kB / 1.267 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/1.215, allocations: 189.6 kB / 1.267 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/1.218, allocations: 1.75 MB / 1.269 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.218, allocations: 17.41 kB / 1.269 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.218, allocations: 3.938 kB / 1.269 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/1.219, allocations: 1.158 MB / 1.27 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/1.225, allocations: 3.484 MB / 1.273 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/1.225, allocations: 14.7 kB / 1.273 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007267/1.226, allocations: 208.9 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/1.226, allocations: 12.73 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/1.226, allocations: 41.61 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/1.226, allocations: 15.44 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.226, allocations: 13.22 kB / 1.274 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/1.229, allocations: 2.243 MB / 1.276 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008955/1.23, allocations: 473.2 kB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/1.23, allocations: 31.08 kB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.231, allocations: 106.1 kB / 1.276 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/1.231, allocations: 122.7 kB / 1.277 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.232, allocations: 58.67 kB / 1.277 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001579/1.233, allocations: 1.077 MB / 1.278 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.233, allocations: 0 / 1.278 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002941/1.236, allocations: 1.125 MB / 1.279 GB, free: 162.4 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.001499/1.238, allocations: 0.791 MB / 1.28 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003166/1.241, allocations: 1.814 MB / 1.281 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.241, allocations: 1.125 kB / 1.281 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.242, allocations: 0.8293 MB / 1.282 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006706/1.249, allocations: 0.9301 MB / 1.283 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006725/1.256, allocations: 4.475 MB / 1.287 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.257, allocations: 1.438 MB / 1.289 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002856/1.26, allocations: 0.5392 MB / 1.289 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005975/1.261, allocations: 187.8 kB / 1.29 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.001e-06/1.261, allocations: 0 / 1.29 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06717/1.328, allocations: 41.47 MB / 1.33 GB, free: 128.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)