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.001461/0.001461, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002077, allocations: 198.5 kB / 16.64 MB, free: 6.445 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.678/1.678, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.6175/0.6175, allocations: 95.48 MB / 365.3 MB, free: 9.836 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.001811/0.001811, allocations: 71.89 kB / 446.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3846, allocations: 69.08 MB / 0.5031 GB, free: 17.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004473/0.3891, allocations: 2.314 MB / 0.5054 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5832/0.9723, allocations: 162.7 MB / 0.6642 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.9727, allocations: 6.25 kB / 0.6642 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.9729, allocations: 46.44 kB / 0.6643 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.9731, allocations: 78.83 kB / 0.6643 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.9742, allocations: 311.6 kB / 0.6646 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.9748, allocations: 461.3 kB / 0.6651 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.9751, allocations: 115.8 kB / 0.6652 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003432/0.9754, allocations: 198.3 kB / 0.6654 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.9758, allocations: 189 kB / 0.6656 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.9759, allocations: 33.77 kB / 0.6656 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006939/0.9766, allocations: 267.2 kB / 0.6658 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.9767, allocations: 72.91 kB / 0.6659 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.977, allocations: 177.3 kB / 0.6661 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.9778, allocations: 0.5233 MB / 0.6666 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9778, allocations: 0 / 0.6666 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9778, allocations: 0 / 0.6666 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.9779, allocations: 0 / 0.6666 GB, free: 12.8 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.001728/0.9796, allocations: 0.8285 MB / 0.6674 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.9796, allocations: 14.3 kB / 0.6674 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005629/0.9802, allocations: 95.72 kB / 0.6675 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.9807, allocations: 296.4 kB / 0.6678 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.9808, allocations: 25.94 kB / 0.6678 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.9808, allocations: 30.67 kB / 0.6678 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.9815, allocations: 302.7 kB / 0.6681 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9815, allocations: 0 / 0.6681 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.9815, allocations: 12.84 kB / 0.6681 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.9816, allocations: 8 kB / 0.6682 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.9822, allocations: 314.6 kB / 0.6685 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.9841, allocations: 0.9253 MB / 0.6694 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.9848, allocations: 261.7 kB / 0.6696 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.9851, allocations: 139.6 kB / 0.6697 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.9852, allocations: 2.812 kB / 0.6697 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.9852, allocations: 36.44 kB / 0.6698 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 2.926e-06/0.9852, allocations: 0 / 0.6698 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001137/0.9864, allocations: 0.4974 MB / 0.6703 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.9865, allocations: 115.8 kB / 0.6704 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.9869, allocations: 325 kB / 0.6707 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.9869, allocations: 31.08 kB / 0.6707 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.9871, allocations: 181.6 kB / 0.6709 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.971e-05/0.9872, allocations: 86.69 kB / 0.671 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.9873, allocations: 72.48 kB / 0.671 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.9875, allocations: 341.8 kB / 0.6714 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.9878, allocations: 146.4 kB / 0.6715 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.9881, allocations: 205.7 kB / 0.6717 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/0.9889, allocations: 0.4993 MB / 0.6722 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9889, allocations: 0 / 0.6722 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000914/0.9898, allocations: 0.5689 MB / 0.6727 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.9899, allocations: 131.6 kB / 0.6729 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9899, allocations: 6.75 kB / 0.6729 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.9899, allocations: 0 / 0.6729 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.9903, allocations: 54.95 kB / 0.6729 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.9904, allocations: 7.719 kB / 0.6729 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.9907, allocations: 47.19 kB / 0.673 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.9908, allocations: 24.84 kB / 0.673 GB, free: 9.965 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.0002544/0.9911, allocations: 215.5 kB / 0.6732 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.9912, allocations: 33.56 kB / 0.6732 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009018/0.9921, allocations: 483.6 kB / 0.6737 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.9921, allocations: 2.906 kB / 0.6737 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9921, allocations: 0 / 0.6737 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9921, allocations: 0 / 0.6737 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.9933, allocations: 0.8722 MB / 0.6746 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9933, allocations: 10.59 kB / 0.6746 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.9936, allocations: 45.16 kB / 0.6746 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9936, allocations: 3.938 kB / 0.6746 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.9937, allocations: 4.656 kB / 0.6746 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9937, allocations: 0 / 0.6746 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9937, allocations: 2.812 kB / 0.6746 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.9945, allocations: 0.5351 MB / 0.6751 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.9946, allocations: 150 kB / 0.6753 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.9947, allocations: 4.516 kB / 0.6753 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.995, allocations: 13.61 kB / 0.6753 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.9951, allocations: 16.61 kB / 0.6753 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.9951, allocations: 11.31 kB / 0.6753 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002292/0.9953, allocations: 240.5 kB / 0.6756 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9953, allocations: 0 / 0.6756 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004354/0.9958, allocations: 115.5 kB / 0.6757 GB, free: 8.781 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.0003605/0.9961, allocations: 152.7 kB / 0.6758 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008991/0.9971, allocations: 0.6193 MB / 0.6764 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.9971, allocations: 0 / 0.6764 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.9974, allocations: 296.5 kB / 0.6767 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.9981, allocations: 119.9 kB / 0.6768 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/1, allocations: 0.8214 MB / 0.6776 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1, allocations: 0.7696 MB / 0.6784 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002411/1.001, allocations: 54.83 kB / 0.6784 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/1.001, allocations: 27.98 kB / 0.6785 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/1.001, allocations: 0 / 0.6785 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of Templates: time 0.01217/1.013, allocations: 6.299 MB / 0.6846 GB, free: 4.473 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)