Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.07/2.07, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 185.3 kB / 499.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009522, allocations: 111.7 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009752/0.0009753, allocations: 51.08 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.232, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002701/0.2347, allocations: 2.36 MB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1238/0.3586, allocations: 149.7 MB / 1.367 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.3588, allocations: 4 kB / 1.367 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.359, allocations: 35.66 kB / 1.367 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3593, allocations: 91.38 kB / 1.367 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.3599, allocations: 259.2 kB / 1.367 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3603, allocations: 411.8 kB / 1.367 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.3604, allocations: 105.8 kB / 1.367 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.3625, allocations: 253.5 kB / 1.368 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.3627, allocations: 179.2 kB / 1.368 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.3627, allocations: 16 kB / 1.368 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.3632, allocations: 275.5 kB / 1.368 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.39e-05/0.3633, allocations: 63.73 kB / 1.368 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3634, allocations: 143.2 kB / 1.368 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.3639, allocations: 466.6 kB / 1.369 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3639, allocations: 4 kB / 1.369 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3639, allocations: 3.984 kB / 1.369 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3639, allocations: 0 / 1.369 GB, free: 10.37 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001322/0.3653, allocations: 0.6978 MB / 1.369 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3653, allocations: 15.98 kB / 1.369 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/0.3678, allocations: 263.5 kB / 1.37 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.3681, allocations: 305.1 kB / 1.37 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3682, allocations: 16.56 kB / 1.37 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.3682, allocations: 32 kB / 1.37 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.3695, allocations: 432.5 kB / 1.37 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3695, allocations: 3.984 kB / 1.37 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.3696, allocations: 8 kB / 1.371 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3696, allocations: 11.94 kB / 1.371 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.3716, allocations: 0.5251 MB / 1.371 GB, free: 7.988 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.3744, allocations: 1.128 MB / 1.372 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.3764, allocations: 455.8 kB / 1.373 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009623/0.3774, allocations: 233.3 kB / 1.373 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.3774, allocations: 8 kB / 1.373 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3775, allocations: 34.5 kB / 1.373 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.3775, allocations: 4 kB / 1.373 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.01376/0.3912, allocations: 1.724 MB / 1.375 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3913, allocations: 55.41 kB / 1.375 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.3916, allocations: 304.5 kB / 1.375 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.3917, allocations: 29.7 kB / 1.375 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3918, allocations: 172.2 kB / 1.375 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.3919, allocations: 94.73 kB / 1.375 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.392, allocations: 73.92 kB / 1.375 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3921, allocations: 342.8 kB / 1.376 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009368/0.3931, allocations: 204.4 kB / 1.376 GB, free: 3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009574/0.3941, allocations: 259 kB / 1.376 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.3959, allocations: 439.5 kB / 1.376 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3959, allocations: 3.938 kB / 1.376 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006202/0.4021, allocations: 0.8888 MB / 1.377 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4022, allocations: 8 kB / 1.377 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4022, allocations: 0 / 1.377 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/0.4038, allocations: 281.4 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.4043, allocations: 63.94 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.4163, allocations: 3.789 MB / 1.381 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.417, allocations: 79.55 kB / 1.381 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/0.4171, allocations: 19.95 kB / 1.381 GB, free: 12.88 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.4173, allocations: 141.7 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.4174, allocations: 35.61 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006514/0.4239, allocations: 0.9484 MB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.424, allocations: 7.984 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.424, allocations: 3.938 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.424, allocations: 0 / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.4245, allocations: 432.6 kB / 1.383 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4245, allocations: 0 / 1.383 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.4248, allocations: 51.95 kB / 1.383 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/0.4265, allocations: 273.3 kB / 1.383 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.4266, allocations: 15.97 kB / 1.383 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.4385, allocations: 3.782 MB / 1.387 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4385, allocations: 0 / 1.387 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007443/0.446, allocations: 1.803 MB / 1.389 GB, free: 5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.4461, allocations: 116.6 kB / 1.389 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.4461, allocations: 8 kB / 1.389 GB, free: 4.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.4468, allocations: 47.95 kB / 1.389 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.4469, allocations: 19.97 kB / 1.389 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.447, allocations: 15.97 kB / 1.389 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002089/0.4472, allocations: 223.1 kB / 1.389 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4472, allocations: 0 / 1.389 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006172/0.4478, allocations: 119.9 kB / 1.389 GB, free: 4.441 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.448, allocations: 116.3 kB / 1.389 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002538/0.4506, allocations: 0.7234 MB / 1.39 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4506, allocations: 0 / 1.39 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.4519, allocations: 0.5011 MB / 1.391 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.4526, allocations: 105.2 kB / 1.391 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.4551, allocations: 0.9787 MB / 1.392 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.4553, allocations: 0.7762 MB / 1.392 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004424/0.4558, allocations: 78.88 kB / 1.392 GB, free: 1.039 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4559, allocations: 31.42 kB / 1.392 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of SimCode: time 3.4e-07/0.4559, allocations: 4 kB / 1.392 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of Templates: time 0.01802/0.474, allocations: 13.33 MB / 1.405 GB, free: 3.734 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)