Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_8_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009786/0.0009786, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009286/0.0009287, allocations: 191.1 kB / 16.25 MB, free: 6.629 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.145/1.145, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.458/1.458, allocations: 292.2 MB / 0.5485 GB, free: 13.6 MB / 462.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: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 60.64 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1651, allocations: 114.6 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002911/0.168, allocations: 2.367 MB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4388/0.6068, allocations: 149.8 MB / 0.9315 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.607, allocations: 5.688 kB / 0.9315 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.6072, allocations: 30.48 kB / 0.9315 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.6075, allocations: 84.88 kB / 0.9316 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.608, allocations: 271.1 kB / 0.9318 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.6084, allocations: 427.4 kB / 0.9322 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.6086, allocations: 111.4 kB / 0.9323 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.6102, allocations: 275.3 kB / 0.9326 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.6104, allocations: 180.5 kB / 0.9328 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.6104, allocations: 34.5 kB / 0.9328 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.6109, allocations: 286.9 kB / 0.9331 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.6109, allocations: 78.97 kB / 0.9332 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.6111, allocations: 165.3 kB / 0.9333 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.6116, allocations: 488 kB / 0.9338 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6116, allocations: 0 / 0.9338 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6116, allocations: 3.406 kB / 0.9338 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6116, allocations: 0 / 0.9338 GB, free: 5.941 MB / 0.7325 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.00129/0.6129, allocations: 0.6999 MB / 0.9345 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.6129, allocations: 8.5 kB / 0.9345 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.6156, allocations: 261.6 kB / 0.9347 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.6159, allocations: 304.5 kB / 0.935 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6159, allocations: 22.16 kB / 0.935 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.616, allocations: 31.75 kB / 0.9351 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.6173, allocations: 425 kB / 0.9355 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6173, allocations: 4.609 kB / 0.9355 GB, free: 21.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.6174, allocations: 13.05 kB / 0.9355 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.6174, allocations: 9.844 kB / 0.9355 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.6195, allocations: 0.5226 MB / 0.936 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.6222, allocations: 1.128 MB / 0.9371 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.6243, allocations: 470.6 kB / 0.9376 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009698/0.6253, allocations: 235.3 kB / 0.9378 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.6253, allocations: 3.859 kB / 0.9378 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.6254, allocations: 39.62 kB / 0.9378 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.183e-06/0.6254, allocations: 1.203 kB / 0.9378 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.01561/0.641, allocations: 1.723 MB / 0.9395 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.641, allocations: 57.84 kB / 0.9396 GB, free: 20.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.6413, allocations: 308.7 kB / 0.9399 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.6413, allocations: 31.77 kB / 0.9399 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.6414, allocations: 168.3 kB / 0.94 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.6415, allocations: 85.92 kB / 0.9401 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.6416, allocations: 75.66 kB / 0.9402 GB, free: 19.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.6417, allocations: 343.2 kB / 0.9405 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009701/0.6427, allocations: 201.7 kB / 0.9407 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009778/0.6437, allocations: 260.1 kB / 0.941 GB, free: 19.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.6456, allocations: 435.2 kB / 0.9414 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6456, allocations: 0 / 0.9414 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006611/0.6522, allocations: 0.8974 MB / 0.9423 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6522, allocations: 5.266 kB / 0.9423 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6522, allocations: 4.281 kB / 0.9423 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.654, allocations: 279.2 kB / 0.9425 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.6544, allocations: 70.77 kB / 0.9426 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.6683, allocations: 4.092 MB / 0.9466 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.6691, allocations: 74.97 kB / 0.9467 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.6692, allocations: 20.34 kB / 0.9467 GB, free: 16.55 MB / 0.7481 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.0001745/0.6694, allocations: 140.7 kB / 0.9468 GB, free: 16.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.6694, allocations: 30.62 kB / 0.9469 GB, free: 16.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007018/0.6765, allocations: 0.9547 MB / 0.9478 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6765, allocations: 2.75 kB / 0.9478 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.6765, allocations: 0 / 0.9478 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6765, allocations: 4.609 kB / 0.9478 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.6769, allocations: 419 kB / 0.9482 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6769, allocations: 5 kB / 0.9482 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.6773, allocations: 52.33 kB / 0.9482 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.6791, allocations: 282.7 kB / 0.9485 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.6792, allocations: 14.95 kB / 0.9485 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/0.6936, allocations: 4.079 MB / 0.9525 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6936, allocations: 0.5312 kB / 0.9525 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007069/0.7007, allocations: 0.9567 MB / 0.9534 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.7008, allocations: 112 kB / 0.9536 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.7009, allocations: 8.438 kB / 0.9536 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.7016, allocations: 51 kB / 0.9536 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.7017, allocations: 18.16 kB / 0.9536 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.7017, allocations: 18.91 kB / 0.9536 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002078/0.7019, allocations: 233.1 kB / 0.9539 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7019, allocations: 0 / 0.9539 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005567/0.7025, allocations: 113.1 kB / 0.954 GB, free: 12.84 MB / 0.7481 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.0001809/0.7027, allocations: 124.6 kB / 0.9541 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.7052, allocations: 0.7358 MB / 0.9548 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7052, allocations: 0 / 0.9548 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.7066, allocations: 0.5009 MB / 0.9553 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.7072, allocations: 114.7 kB / 0.9554 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.7095, allocations: 0.7776 MB / 0.9562 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.7097, allocations: 0.7707 MB / 0.9569 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004061/0.7101, allocations: 82.22 kB / 0.957 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.7103, allocations: 34.39 kB / 0.957 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.7103, allocations: 0 / 0.957 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of Templates: time 0.01511/0.7254, allocations: 13.46 MB / 0.9702 GB, free: 9.332 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)