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.001197/0.001197, allocations: 99.02 kB / 16.27 MB, free: 6.418 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.001111/0.001111, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.643/1.643, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.929/1.929, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.001482/0.001482, allocations: 74.25 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2693, allocations: 114.5 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004851/0.2743, allocations: 2.302 MB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6989/0.9732, allocations: 152 MB / 0.9347 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.9735, allocations: 4 kB / 0.9347 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.9738, allocations: 51.45 kB / 0.9348 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.9742, allocations: 91.2 kB / 0.9349 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.975, allocations: 307 kB / 0.9352 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.9754, allocations: 423.8 kB / 0.9356 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.9756, allocations: 115.3 kB / 0.9357 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.9769, allocations: 273.5 kB / 0.9359 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.9772, allocations: 183.3 kB / 0.9361 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.9772, allocations: 28 kB / 0.9361 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.9777, allocations: 285.1 kB / 0.9364 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.9778, allocations: 83.72 kB / 0.9365 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.978, allocations: 159.2 kB / 0.9366 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006338/0.9786, allocations: 486.6 kB / 0.9371 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9786, allocations: 0 / 0.9371 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9787, allocations: 0 / 0.9371 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.9787, allocations: 4 kB / 0.9371 GB, free: 13.85 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.001547/0.9802, allocations: 0.6967 MB / 0.9378 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.9803, allocations: 8.031 kB / 0.9378 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/0.983, allocations: 261.4 kB / 0.938 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.9835, allocations: 303.2 kB / 0.9383 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.9835, allocations: 20.56 kB / 0.9383 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.9836, allocations: 31.98 kB / 0.9384 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.985, allocations: 424.5 kB / 0.9388 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.985, allocations: 7.938 kB / 0.9388 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.9851, allocations: 12 kB / 0.9388 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.9851, allocations: 16.62 kB / 0.9388 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.9873, allocations: 0.5252 MB / 0.9393 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.9903, allocations: 1.118 MB / 0.9404 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.9926, allocations: 463.2 kB / 0.9409 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.9936, allocations: 232.7 kB / 0.9411 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.9936, allocations: 8.375 kB / 0.9411 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.9937, allocations: 38.5 kB / 0.9411 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.9937, allocations: 0 / 0.9411 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01517/1.009, allocations: 1.728 MB / 0.9428 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/1.009, allocations: 59.41 kB / 0.9429 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/1.009, allocations: 304.5 kB / 0.9432 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/1.009, allocations: 29.7 kB / 0.9432 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.01, allocations: 168.2 kB / 0.9434 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/1.01, allocations: 82.75 kB / 0.9434 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/1.01, allocations: 77.92 kB / 0.9435 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.01, allocations: 346.7 kB / 0.9438 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009894/1.011, allocations: 196.4 kB / 0.944 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.012, allocations: 259 kB / 0.9443 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.014, allocations: 436.4 kB / 0.9447 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.014, allocations: 0 / 0.9447 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006612/1.021, allocations: 0.901 MB / 0.9456 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/1.021, allocations: 4 kB / 0.9456 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.021, allocations: 8.5 kB / 0.9456 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/1.023, allocations: 277.4 kB / 0.9458 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/1.023, allocations: 68.83 kB / 0.9459 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01436/1.037, allocations: 4.091 MB / 0.9499 GB, free: 164 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/1.038, allocations: 79.62 kB / 0.95 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/1.038, allocations: 15.97 kB / 0.95 GB, free: 68 kB / 0.7325 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.000239/1.039, allocations: 138.7 kB / 0.9501 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/1.039, allocations: 31.62 kB / 0.9502 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006986/1.046, allocations: 0.9555 MB / 0.9511 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/1.046, allocations: 4 kB / 0.9511 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.046, allocations: 3.094 kB / 0.9511 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/1.046, allocations: 3.984 kB / 0.9511 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/1.046, allocations: 434.3 kB / 0.9515 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.046, allocations: 0 / 0.9515 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/1.047, allocations: 51.89 kB / 0.9516 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/1.049, allocations: 281.4 kB / 0.9518 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/1.049, allocations: 11.97 kB / 0.9518 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01397/1.063, allocations: 4.087 MB / 0.9558 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.063, allocations: 0 / 0.9558 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/1.07, allocations: 0.9552 MB / 0.9568 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/1.07, allocations: 108.7 kB / 0.9569 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/1.07, allocations: 7.938 kB / 0.9569 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/1.071, allocations: 45.89 kB / 0.9569 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.071, allocations: 23.97 kB / 0.9569 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/1.071, allocations: 15.91 kB / 0.957 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002489/1.071, allocations: 228.6 kB / 0.9572 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.071, allocations: 4 kB / 0.9572 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006343/1.072, allocations: 112 kB / 0.9573 GB, free: 8.211 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.0002414/1.072, allocations: 127.1 kB / 0.9574 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002839/1.075, allocations: 0.7324 MB / 0.9581 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.075, allocations: 0 / 0.9581 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/1.076, allocations: 0.5142 MB / 0.9586 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/1.077, allocations: 105.2 kB / 0.9587 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/1.079, allocations: 0.7136 MB / 0.9594 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.08, allocations: 0.7684 MB / 0.9602 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/1.08, allocations: 35.41 kB / 0.9602 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of SimCode: time 2.204e-06/1.08, allocations: 0 / 0.9602 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of Templates: time 0.01098/1.091, allocations: 8.302 MB / 0.9683 GB, free: 12.9 MB / 0.7637 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)