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.001168/0.001168, allocations: 101.4 kB / 15.7 MB, free: 28 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.001165/0.001165, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.109/1.109, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.499/1.499, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001247/0.001247, allocations: 74.33 kB / 0.6723 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1593, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002891/0.1622, allocations: 2.298 MB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4326/0.5948, allocations: 152 MB / 0.9348 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.595, allocations: 2.562 kB / 0.9348 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.5952, allocations: 50.66 kB / 0.9349 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.5954, allocations: 95.19 kB / 0.935 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.5959, allocations: 302.7 kB / 0.9352 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.5962, allocations: 430.7 kB / 0.9357 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.5964, allocations: 104.2 kB / 0.9358 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009747/0.5974, allocations: 285.3 kB / 0.936 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.5976, allocations: 183.9 kB / 0.9362 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.5976, allocations: 30.06 kB / 0.9362 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.598, allocations: 280.7 kB / 0.9365 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.5981, allocations: 76.52 kB / 0.9366 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.5982, allocations: 168.9 kB / 0.9367 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.5986, allocations: 494.5 kB / 0.9372 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5986, allocations: 0 / 0.9372 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5986, allocations: 0 / 0.9372 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5987, allocations: 7.938 kB / 0.9372 GB, free: 3.129 MB / 0.7169 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.001223/0.5999, allocations: 0.7019 MB / 0.9379 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.646e-05/0.5999, allocations: 8.75 kB / 0.9379 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.6023, allocations: 263.3 kB / 0.9382 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.6026, allocations: 303.3 kB / 0.9384 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.6026, allocations: 21.11 kB / 0.9385 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.6027, allocations: 24.97 kB / 0.9385 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.6039, allocations: 432.5 kB / 0.9389 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.604, allocations: 0 / 0.9389 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.604, allocations: 14.52 kB / 0.9389 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.604, allocations: 8.156 kB / 0.9389 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.606, allocations: 0.5337 MB / 0.9394 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.6084, allocations: 1.126 MB / 0.9405 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.6104, allocations: 465.7 kB / 0.941 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009152/0.6113, allocations: 227.9 kB / 0.9412 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.6114, allocations: 8.828 kB / 0.9412 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6114, allocations: 39.81 kB / 0.9413 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.6114, allocations: 0 / 0.9413 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.01371/0.6251, allocations: 1.727 MB / 0.9429 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.6252, allocations: 54.56 kB / 0.943 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.6255, allocations: 312.9 kB / 0.9433 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.6255, allocations: 30.23 kB / 0.9433 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.6256, allocations: 171.8 kB / 0.9435 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.6257, allocations: 84.27 kB / 0.9436 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.6258, allocations: 75.88 kB / 0.9436 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6259, allocations: 336.7 kB / 0.944 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009669/0.6269, allocations: 205.2 kB / 0.9442 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009875/0.6279, allocations: 259.1 kB / 0.9444 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.6298, allocations: 436 kB / 0.9448 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6298, allocations: 0.7812 kB / 0.9448 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006192/0.636, allocations: 0.8972 MB / 0.9457 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.636, allocations: 4.719 kB / 0.9457 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6361, allocations: 5.094 kB / 0.9457 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.6377, allocations: 282.6 kB / 0.946 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003897/0.6381, allocations: 67.69 kB / 0.946 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.6504, allocations: 4.091 MB / 0.95 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.651, allocations: 77.91 kB / 0.9501 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.6511, allocations: 18.03 kB / 0.9501 GB, free: 13.69 MB / 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.0001457/0.6513, allocations: 144.9 kB / 0.9503 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.6513, allocations: 30.75 kB / 0.9503 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/0.6575, allocations: 0.9466 MB / 0.9512 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6575, allocations: 3.25 kB / 0.9512 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.6575, allocations: 0 / 0.9512 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6575, allocations: 3.938 kB / 0.9512 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.6579, allocations: 422.8 kB / 0.9516 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.658, allocations: 6.375 kB / 0.9516 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.6583, allocations: 56.53 kB / 0.9517 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.6598, allocations: 280.8 kB / 0.952 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.6599, allocations: 12.66 kB / 0.952 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.672, allocations: 4.079 MB / 0.9559 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.672, allocations: 4.062 kB / 0.956 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005978/0.678, allocations: 0.9627 MB / 0.9569 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.6781, allocations: 107.2 kB / 0.957 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.6781, allocations: 6.281 kB / 0.957 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006144/0.6788, allocations: 46.2 kB / 0.957 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.6788, allocations: 22.47 kB / 0.9571 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.6789, allocations: 17.58 kB / 0.9571 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001795/0.6791, allocations: 228.7 kB / 0.9573 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6791, allocations: 0 / 0.9573 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004678/0.6795, allocations: 118.6 kB / 0.9574 GB, free: 9.953 MB / 0.7325 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.0001629/0.6797, allocations: 116.4 kB / 0.9575 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002314/0.682, allocations: 0.7303 MB / 0.9582 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.682, allocations: 0 / 0.9582 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.6833, allocations: 0.4976 MB / 0.9587 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.6839, allocations: 109.7 kB / 0.9588 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.686, allocations: 0.6903 MB / 0.9595 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.6862, allocations: 0.7676 MB / 0.9603 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.6865, allocations: 79.81 kB / 0.9603 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.6867, allocations: 32.12 kB / 0.9604 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6867, allocations: 1.344 kB / 0.9604 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of Templates: time 0.01532/0.702, allocations: 13.56 MB / 0.9736 GB, free: 2.16 MB / 0.7325 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)