Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009943/0.009943, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001492/0.001492, allocations: 187.7 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7012/0.7012, allocations: 95.48 MB / 365.4 MB, free: 9.785 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 71.91 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1722, allocations: 69.09 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003523/0.1758, allocations: 2.31 MB / 0.5733 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5802/0.756, allocations: 162.7 MB / 0.7322 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.7563, allocations: 7.938 kB / 0.7322 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.7566, allocations: 51.41 kB / 0.7322 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.7568, allocations: 79.27 kB / 0.7323 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.7579, allocations: 314.9 kB / 0.7326 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.7585, allocations: 459.7 kB / 0.733 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.7587, allocations: 108.3 kB / 0.7331 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.759, allocations: 195.4 kB / 0.7333 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.7593, allocations: 191.2 kB / 0.7335 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.7594, allocations: 32 kB / 0.7335 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.7599, allocations: 267.7 kB / 0.7338 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.76, allocations: 79.72 kB / 0.7339 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.7602, allocations: 171.2 kB / 0.734 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006666/0.7608, allocations: 0.5208 MB / 0.7345 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7609, allocations: 0 / 0.7345 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7609, allocations: 0 / 0.7345 GB, free: 7.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.7609, allocations: 0 / 0.7345 GB, free: 7.086 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001735/0.7626, allocations: 0.8293 MB / 0.7354 GB, free: 6.184 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.7627, allocations: 11.98 kB / 0.7354 GB, free: 6.172 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005257/0.7632, allocations: 103.5 kB / 0.7355 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.7637, allocations: 291 kB / 0.7357 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.7637, allocations: 20.56 kB / 0.7358 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.7638, allocations: 35.62 kB / 0.7358 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.7644, allocations: 308.7 kB / 0.7361 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.7645, allocations: 0 / 0.7361 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.7645, allocations: 16 kB / 0.7361 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.7645, allocations: 4 kB / 0.7361 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.7651, allocations: 310.1 kB / 0.7364 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.767, allocations: 0.9273 MB / 0.7373 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.7676, allocations: 250.8 kB / 0.7376 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.7679, allocations: 148.8 kB / 0.7377 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.7679, allocations: 0 / 0.7377 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.768, allocations: 34.56 kB / 0.7377 GB, free: 3.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.363e-06/0.768, allocations: 0 / 0.7377 GB, free: 3.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001055/0.769, allocations: 0.4964 MB / 0.7382 GB, free: 3.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.7691, allocations: 122.8 kB / 0.7383 GB, free: 2.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.7695, allocations: 324.4 kB / 0.7386 GB, free: 2.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.7695, allocations: 29.7 kB / 0.7387 GB, free: 2.617 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.7697, allocations: 176.2 kB / 0.7388 GB, free: 2.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.7698, allocations: 90.73 kB / 0.7389 GB, free: 2.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.7699, allocations: 73.88 kB / 0.739 GB, free: 2.273 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7701, allocations: 338.8 kB / 0.7393 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.7704, allocations: 148.2 kB / 0.7395 GB, free: 1.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.7708, allocations: 201.2 kB / 0.7396 GB, free: 1.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.7715, allocations: 0.5101 MB / 0.7401 GB, free: 1.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7715, allocations: 8.031 kB / 0.7402 GB, free: 1.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000976/0.7725, allocations: 0.5603 MB / 0.7407 GB, free: 436 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.7726, allocations: 134.8 kB / 0.7408 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7726, allocations: 0 / 0.7408 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.7727, allocations: 4 kB / 0.7408 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.773, allocations: 55.91 kB / 0.7409 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.773, allocations: 7.984 kB / 0.7409 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.7734, allocations: 43.66 kB / 0.7409 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.7734, allocations: 15.98 kB / 0.741 GB, free: 148 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (theComFixPar.steRat.found,theComFixPar.steRat.i_nw,theComFixPar.steRat.i_w,theCom.steRat.found,theCom.steRat.i_nw,theCom.steRat.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 4 * 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.0002224/0.7736, allocations: 213.2 kB / 0.7412 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.7737, allocations: 31.62 kB / 0.7412 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009262/0.7747, allocations: 475.9 kB / 0.7416 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.7747, allocations: 7.984 kB / 0.7416 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7747, allocations: 0 / 0.7416 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.7747, allocations: 3.984 kB / 0.7416 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.7759, allocations: 0.8746 MB / 0.7425 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7759, allocations: 0 / 0.7425 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.7762, allocations: 39.92 kB / 0.7425 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.7762, allocations: 7.938 kB / 0.7425 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.7762, allocations: 4 kB / 0.7426 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7763, allocations: 3.938 kB / 0.7426 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7763, allocations: 0 / 0.7426 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007731/0.777, allocations: 0.5467 MB / 0.7431 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.7772, allocations: 144.5 kB / 0.7432 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.7773, allocations: 11.98 kB / 0.7432 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.7775, allocations: 12 kB / 0.7433 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.7776, allocations: 15.97 kB / 0.7433 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.7777, allocations: 8 kB / 0.7433 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002312/0.7779, allocations: 239.2 kB / 0.7435 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7779, allocations: 0 / 0.7435 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004567/0.7784, allocations: 116 kB / 0.7436 GB, free: 13.25 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0003679/0.7787, allocations: 166.9 kB / 0.7438 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000955/0.7797, allocations: 0.619 MB / 0.7444 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7797, allocations: 0 / 0.7444 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.7801, allocations: 296.3 kB / 0.7447 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.7808, allocations: 101.1 kB / 0.7448 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.7826, allocations: 0.8165 MB / 0.7456 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.783, allocations: 0.7717 MB / 0.7463 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.7833, allocations: 54.95 kB / 0.7464 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.7834, allocations: 27.44 kB / 0.7464 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.7834, allocations: 0 / 0.7464 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.01297/0.7964, allocations: 6.49 MB / 0.7527 GB, free: 3.867 MB / 0.5606 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)