Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 308.1 MB, free: 4.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 182.4 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009716/0.0009715, allocations: 99.56 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2828, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8079/1.091, allocations: 235.4 MB / 1.212 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0244/1.115, allocations: 15.8 MB / 1.228 GB, free: 420 kB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/1.119, allocations: 51.34 kB / 1.228 GB, free: 400 kB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004321/1.123, allocations: 0.8783 MB / 1.228 GB, free: 15.89 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01217/1.135, allocations: 2.778 MB / 1.231 GB, free: 14.38 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005772/1.141, allocations: 1.513 MB / 1.233 GB, free: 13.57 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009461/1.15, allocations: 4.672 MB / 1.237 GB, free: 11.86 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/1.154, allocations: 1.075 MB / 1.238 GB, free: 11.39 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0119/1.166, allocations: 2.278 MB / 1.24 GB, free: 10.39 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004662/1.17, allocations: 1.117 MB / 1.242 GB, free: 9.945 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007715/1.171, allocations: 68.28 kB / 1.242 GB, free: 9.941 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009937/1.181, allocations: 3.589 MB / 1.245 GB, free: 8.664 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001466/1.182, allocations: 435.4 kB / 1.246 GB, free: 8.488 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003598/1.186, allocations: 0.7481 MB / 1.246 GB, free: 8.059 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01219/1.198, allocations: 3.101 MB / 1.249 GB, free: 6.945 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/1.198, allocations: 0 / 1.249 GB, free: 6.945 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.314e-06/1.198, allocations: 1.375 kB / 1.249 GB, free: 6.945 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001219/1.198, allocations: 4 kB / 1.249 GB, free: 6.941 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.008348/1.207, allocations: 2.008 MB / 1.251 GB, free: 5.625 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.207, allocations: 12.28 kB / 1.251 GB, free: 5.621 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/1.21, allocations: 0.4982 MB / 1.252 GB, free: 5.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/1.214, allocations: 1.108 MB / 1.253 GB, free: 4.824 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/1.215, allocations: 243.3 kB / 1.253 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/1.216, allocations: 100.7 kB / 1.253 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/1.22, allocations: 1.325 MB / 1.254 GB, free: 4.082 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/1.22, allocations: 2.219 kB / 1.254 GB, free: 4.082 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/1.22, allocations: 40.25 kB / 1.255 GB, free: 4.055 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.22, allocations: 50.2 kB / 1.255 GB, free: 4.043 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/1.224, allocations: 1.077 MB / 1.256 GB, free: 3.695 MB / 0.823 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.01112/1.235, allocations: 6.633 MB / 1.262 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.237, allocations: 0.5705 MB / 1.263 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007991/1.238, allocations: 274.2 kB / 1.263 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004578/1.238, allocations: 288.5 kB / 1.263 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/1.238, allocations: 37.83 kB / 1.263 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/1.238, allocations: 0 / 1.263 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.003408/1.242, allocations: 0.8669 MB / 1.264 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/1.242, allocations: 54.53 kB / 1.264 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/1.245, allocations: 1.361 MB / 1.265 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/1.246, allocations: 32.45 kB / 1.265 GB, free: 12.99 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008578/1.246, allocations: 0.6851 MB / 1.266 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/1.247, allocations: 112 kB / 1.266 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.247, allocations: 156.3 kB / 1.266 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.247, allocations: 332.4 kB / 1.267 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009015/1.248, allocations: 315.8 kB / 1.267 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/1.249, allocations: 0.653 MB / 1.268 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/1.251, allocations: 0.8729 MB / 1.269 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.911e-05/1.251, allocations: 9.688 kB / 1.269 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002825/1.254, allocations: 1.012 MB / 1.27 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.254, allocations: 10.25 kB / 1.27 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.254, allocations: 10.38 kB / 1.27 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/1.254, allocations: 13.12 kB / 1.27 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/1.255, allocations: 195.3 kB / 1.27 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.301e-05/1.255, allocations: 20.89 kB / 1.27 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/1.257, allocations: 215.8 kB / 1.27 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.257, allocations: 39.94 kB / 1.27 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001667/1.259, allocations: 0.5729 MB / 1.271 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/1.26, allocations: 0.6453 MB / 1.271 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001881/1.262, allocations: 0.8743 MB / 1.272 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.925e-06/1.262, allocations: 2.75 kB / 1.272 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002781/1.265, allocations: 1.016 MB / 1.273 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.265, allocations: 7.844 kB / 1.273 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.265, allocations: 12.89 kB / 1.273 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.265, allocations: 12.38 kB / 1.273 GB, free: 8.543 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/1.266, allocations: 200.2 kB / 1.273 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/1.266, allocations: 20.78 kB / 1.273 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.268, allocations: 156.4 kB / 1.273 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/1.268, allocations: 43.98 kB / 1.273 GB, free: 8.16 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003249/1.268, allocations: 231.9 kB / 1.274 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/1.268, allocations: 150.2 kB / 1.274 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/1.27, allocations: 0.6479 MB / 1.274 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.27, allocations: 4 kB / 1.274 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.27, allocations: 0 / 1.274 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.27, allocations: 0 / 1.274 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/1.275, allocations: 1.927 MB / 1.276 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.275, allocations: 5.125 kB / 1.276 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/1.276, allocations: 95.86 kB / 1.276 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.276, allocations: 8.062 kB / 1.276 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/1.276, allocations: 15.98 kB / 1.276 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.276, allocations: 8.797 kB / 1.276 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.276, allocations: 4 kB / 1.276 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/1.279, allocations: 1.919 MB / 1.278 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/1.28, allocations: 299.1 kB / 1.279 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004475/1.28, allocations: 11.98 kB / 1.279 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.282, allocations: 92.47 kB / 1.279 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.282, allocations: 39.84 kB / 1.279 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/1.282, allocations: 23.97 kB / 1.279 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002017/1.284, allocations: 0.9884 MB / 1.28 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.284, allocations: 0 / 1.28 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002943/1.287, allocations: 0.5811 MB / 1.28 GB, free: 0.8672 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000751/1.288, allocations: 275.1 kB / 1.281 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003134/1.291, allocations: 1.105 MB / 1.282 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.291, allocations: 0 / 1.282 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007309/1.292, allocations: 264.7 kB / 1.282 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/1.297, allocations: 0.7391 MB / 1.283 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/1.304, allocations: 2.897 MB / 1.285 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.305, allocations: 1.193 MB / 1.287 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002127/1.307, allocations: 372.4 kB / 1.287 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/1.307, allocations: 91.42 kB / 1.287 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/1.307, allocations: 0 / 1.287 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of Templates: time 0.04626/1.354, allocations: 24.58 MB / 1.311 GB, free: 1.516 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)