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.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001255/0.001256, allocations: 193 kB / 16.13 MB, free: 6.652 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.714/1.714, allocations: 205.1 MB / 222 MB, free: 4.969 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.6404/0.6404, allocations: 95.49 MB / 364.8 MB, free: 10.19 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.001379/0.001379, allocations: 67.81 kB / 444.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3914, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002938/0.3944, allocations: 2.371 MB / 0.504 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5508/0.9452, allocations: 160.6 MB / 0.6608 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.9456, allocations: 7.406 kB / 0.6608 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.9459, allocations: 32.62 kB / 0.6609 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.9461, allocations: 60.98 kB / 0.6609 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.9473, allocations: 277 kB / 0.6612 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.9478, allocations: 415.7 kB / 0.6616 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.9481, allocations: 103.3 kB / 0.6617 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.9484, allocations: 178.6 kB / 0.6618 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.9488, allocations: 178 kB / 0.662 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.9488, allocations: 17.34 kB / 0.662 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006312/0.9495, allocations: 259.3 kB / 0.6623 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.9496, allocations: 59.59 kB / 0.6623 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.9498, allocations: 159.2 kB / 0.6625 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.9505, allocations: 499.2 kB / 0.663 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.9506, allocations: 5.297 kB / 0.663 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9506, allocations: 0 / 0.663 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9506, allocations: 4 kB / 0.663 GB, free: 12.27 MB / 0.4981 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.001753/0.9523, allocations: 0.8228 MB / 0.6638 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.9524, allocations: 16.8 kB / 0.6638 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/0.953, allocations: 91.92 kB / 0.6639 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.9534, allocations: 285 kB / 0.6642 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.9534, allocations: 20.25 kB / 0.6642 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.9535, allocations: 39.48 kB / 0.6642 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.954, allocations: 305.5 kB / 0.6645 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9541, allocations: 1.203 kB / 0.6645 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.9541, allocations: 9.656 kB / 0.6645 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.9541, allocations: 7.344 kB / 0.6645 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.9547, allocations: 304.7 kB / 0.6648 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.9564, allocations: 0.9307 MB / 0.6657 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.9571, allocations: 263.1 kB / 0.666 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.9574, allocations: 136.2 kB / 0.6661 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.9574, allocations: 2.344 kB / 0.6661 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.9575, allocations: 35.91 kB / 0.6661 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 6.903e-06/0.9575, allocations: 4 kB / 0.6661 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001054/0.9585, allocations: 0.498 MB / 0.6666 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.9587, allocations: 112.8 kB / 0.6667 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.959, allocations: 325.7 kB / 0.667 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.9591, allocations: 34.08 kB / 0.6671 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.9592, allocations: 175.5 kB / 0.6672 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.9593, allocations: 87.75 kB / 0.6673 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.9595, allocations: 72.86 kB / 0.6674 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9596, allocations: 344.5 kB / 0.6677 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.9599, allocations: 143.1 kB / 0.6679 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.9603, allocations: 199 kB / 0.668 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/0.9611, allocations: 0.5031 MB / 0.6685 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9611, allocations: 4.812 kB / 0.6685 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001115/0.9622, allocations: 0.5601 MB / 0.6691 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.9624, allocations: 131.8 kB / 0.6692 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.9624, allocations: 5.844 kB / 0.6692 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.9624, allocations: 3.125 kB / 0.6692 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.9628, allocations: 57.88 kB / 0.6693 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.9629, allocations: 2.406 kB / 0.6693 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.9632, allocations: 48.41 kB / 0.6693 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.9633, allocations: 20.97 kB / 0.6694 GB, free: 9.445 MB / 0.4981 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.000324/0.9637, allocations: 220.3 kB / 0.6696 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.9637, allocations: 32.88 kB / 0.6696 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.9649, allocations: 481.2 kB / 0.6701 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9649, allocations: 3.969 kB / 0.6701 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.9649, allocations: 6.719 kB / 0.6701 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.9649, allocations: 2.672 kB / 0.6701 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.9666, allocations: 0.8672 MB / 0.6709 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.9666, allocations: 0 / 0.6709 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.9669, allocations: 38.08 kB / 0.6709 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/0.9669, allocations: 6.938 kB / 0.671 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.9669, allocations: 10.12 kB / 0.671 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.967, allocations: 6.75 kB / 0.671 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.967, allocations: 0 / 0.671 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.968, allocations: 0.5276 MB / 0.6715 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.9683, allocations: 151.4 kB / 0.6716 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.9684, allocations: 10.86 kB / 0.6716 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.9687, allocations: 16.98 kB / 0.6717 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.9689, allocations: 16.48 kB / 0.6717 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.9689, allocations: 4.438 kB / 0.6717 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003626/0.9693, allocations: 244.4 kB / 0.6719 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9693, allocations: 0 / 0.6719 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006216/0.9699, allocations: 114.5 kB / 0.672 GB, free: 8.262 MB / 0.4981 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.0005876/0.9705, allocations: 156.4 kB / 0.6722 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.9718, allocations: 0.6167 MB / 0.6728 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.9718, allocations: 2.75 kB / 0.6728 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.9723, allocations: 292.6 kB / 0.6731 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.9732, allocations: 100.5 kB / 0.6731 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.9754, allocations: 0.923 MB / 0.674 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.9759, allocations: 0.7686 MB / 0.6748 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.9763, allocations: 52.84 kB / 0.6748 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.9764, allocations: 30.61 kB / 0.6749 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of SimCode: time 1.503e-06/0.9764, allocations: 0 / 0.6749 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of Templates: time 0.01099/0.9874, allocations: 5.956 MB / 0.6807 GB, free: 3.801 MB / 0.4981 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)