Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.769/1.769, allocations: 288.3 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009232/0.0009231, allocations: 108.2 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004966, allocations: 15.02 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2932, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003608/0.2969, allocations: 1.87 MB / 0.9812 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.775/1.072, allocations: 128.3 MB / 1.107 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/1.072, allocations: 2.594 kB / 1.107 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/1.072, allocations: 26.38 kB / 1.107 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/1.073, allocations: 112.7 kB / 1.107 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/1.074, allocations: 245.9 kB / 1.107 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003578/1.074, allocations: 267.7 kB / 1.107 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/1.074, allocations: 84.67 kB / 1.107 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/1.075, allocations: 180.2 kB / 1.107 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/1.075, allocations: 153.8 kB / 1.108 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/1.075, allocations: 11.41 kB / 1.108 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/1.075, allocations: 275 kB / 1.108 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.212e-05/1.075, allocations: 54.58 kB / 1.108 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/1.075, allocations: 77.17 kB / 1.108 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005599/1.076, allocations: 337.2 kB / 1.108 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.076, allocations: 0 / 1.108 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.833e-06/1.076, allocations: 1.219 kB / 1.108 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.086e-06/1.076, allocations: 0 / 1.108 GB, free: 2.113 MB / 0.6823 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.001652/1.078, allocations: 0.6575 MB / 1.109 GB, free: 17.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.078, allocations: 15.42 kB / 1.109 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/1.081, allocations: 254.3 kB / 1.109 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/1.081, allocations: 291.5 kB / 1.109 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/1.081, allocations: 20.94 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/1.081, allocations: 26.78 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/1.083, allocations: 428.5 kB / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.083, allocations: 3.953 kB / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/1.083, allocations: 12.23 kB / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/1.083, allocations: 6.875 kB / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/1.085, allocations: 0.531 MB / 1.11 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/1.088, allocations: 1.15 MB / 1.112 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/1.091, allocations: 467.7 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/1.091, allocations: 5.781 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/1.091, allocations: 35.66 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.924e-06/1.091, allocations: 0 / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01573/1.107, allocations: 1.72 MB / 1.114 GB, free: 16.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.107, allocations: 57.92 kB / 1.114 GB, free: 16.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/1.107, allocations: 309 kB / 1.114 GB, free: 16.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/1.107, allocations: 31.95 kB / 1.114 GB, free: 16.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/1.107, allocations: 168.8 kB / 1.114 GB, free: 16.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/1.107, allocations: 86.59 kB / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/1.107, allocations: 4.312 kB / 1.114 GB, free: 16.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001635/1.108, allocations: 344.3 kB / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.109, allocations: 205.1 kB / 1.115 GB, free: 15.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/1.11, allocations: 265.6 kB / 1.115 GB, free: 15.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.111, allocations: 214.3 kB / 1.115 GB, free: 15.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.111, allocations: 4 kB / 1.115 GB, free: 15.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006857/1.118, allocations: 0.8849 MB / 1.116 GB, free: 15.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.118, allocations: 11.42 kB / 1.116 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.118, allocations: 1.062 kB / 1.116 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/1.12, allocations: 279.5 kB / 1.117 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/1.12, allocations: 71.78 kB / 1.117 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.134, allocations: 3.854 MB / 1.12 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009924/1.135, allocations: 77.53 kB / 1.12 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/1.135, allocations: 25.42 kB / 1.12 GB, free: 12.93 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002567/1.136, allocations: 140.5 kB / 1.121 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/1.136, allocations: 33.48 kB / 1.121 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00701/1.143, allocations: 0.9471 MB / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.143, allocations: 4.469 kB / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.143, allocations: 0 / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.143, allocations: 0 / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/1.143, allocations: 428.7 kB / 1.122 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.143, allocations: 2.781 kB / 1.122 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/1.144, allocations: 58.88 kB / 1.122 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.146, allocations: 274 kB / 1.122 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/1.146, allocations: 17.19 kB / 1.122 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.159, allocations: 3.867 MB / 1.126 GB, free: 9.402 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.159, allocations: 4.062 kB / 1.126 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/1.166, allocations: 0.9516 MB / 1.127 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/1.166, allocations: 120.1 kB / 1.127 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.861e-05/1.167, allocations: 4.75 kB / 1.127 GB, free: 8.855 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/1.167, allocations: 48.89 kB / 1.127 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.168, allocations: 14.56 kB / 1.127 GB, free: 8.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/1.168, allocations: 18.19 kB / 1.127 GB, free: 8.824 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002574/1.168, allocations: 227.1 kB / 1.127 GB, free: 8.715 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.593e-06/1.168, allocations: 0 / 1.127 GB, free: 8.715 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007898/1.169, allocations: 116.6 kB / 1.128 GB, free: 8.711 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002776/1.169, allocations: 120.5 kB / 1.128 GB, free: 8.609 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002804/1.172, allocations: 0.7232 MB / 1.128 GB, free: 8.246 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.172, allocations: 0 / 1.128 GB, free: 8.246 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/1.173, allocations: 0.4997 MB / 1.129 GB, free: 7.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/1.174, allocations: 95.94 kB / 1.129 GB, free: 7.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/1.177, allocations: 0.7751 MB / 1.13 GB, free: 7.453 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/1.177, allocations: 0.7738 MB / 1.13 GB, free: 6.711 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005552/1.178, allocations: 77.44 kB / 1.131 GB, free: 6.664 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.178, allocations: 35.67 kB / 1.131 GB, free: 6.652 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.178, allocations: 0 / 1.131 GB, free: 6.652 MB / 0.698 GB Notification: Performance of Templates: time 0.02718/1.205, allocations: 12.62 MB / 1.143 GB, free: 116 kB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)