Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 160.7 kB / 327.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.0008415, allocations: 98.75 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 12.25 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2315, allocations: 106.3 MB / 0.9014 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002317/0.2339, allocations: 1.997 MB / 0.9034 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.402, allocations: 148.1 MB / 1.048 GB, free: 8.832 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.4024, allocations: 4 kB / 1.048 GB, free: 8.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.4026, allocations: 39.64 kB / 1.048 GB, free: 8.789 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.4032, allocations: 83.39 kB / 1.048 GB, free: 8.707 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.4042, allocations: 263.2 kB / 1.048 GB, free: 8.449 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.4049, allocations: 407.8 kB / 1.049 GB, free: 8.051 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.4051, allocations: 95.7 kB / 1.049 GB, free: 7.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.4079, allocations: 238.7 kB / 1.049 GB, free: 7.742 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.4082, allocations: 163.2 kB / 1.049 GB, free: 7.582 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.4083, allocations: 12 kB / 1.049 GB, free: 7.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006731/0.409, allocations: 271.5 kB / 1.05 GB, free: 7.305 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.4091, allocations: 59.73 kB / 1.05 GB, free: 7.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.4093, allocations: 164.9 kB / 1.05 GB, free: 7.078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.4099, allocations: 331.5 kB / 1.05 GB, free: 6.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4099, allocations: 0 / 1.05 GB, free: 6.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4099, allocations: 4 kB / 1.05 GB, free: 6.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4099, allocations: 0 / 1.05 GB, free: 6.75 MB / 0.698 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.001548/0.4115, allocations: 0.6628 MB / 1.051 GB, free: 6.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4115, allocations: 8.031 kB / 1.051 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002814/0.4144, allocations: 263.5 kB / 1.051 GB, free: 5.773 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004539/0.4148, allocations: 291.3 kB / 1.051 GB, free: 5.449 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4149, allocations: 20.56 kB / 1.051 GB, free: 5.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.415, allocations: 28 kB / 1.051 GB, free: 5.402 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.4165, allocations: 436.5 kB / 1.052 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4165, allocations: 0 / 1.052 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.4166, allocations: 12 kB / 1.052 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.4166, allocations: 7.938 kB / 1.052 GB, free: 4.949 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.419, allocations: 0.5369 MB / 1.052 GB, free: 4.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.4222, allocations: 1.132 MB / 1.053 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.4246, allocations: 458.4 kB / 1.054 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.4256, allocations: 241 kB / 1.054 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.4257, allocations: 7.984 kB / 1.054 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.4257, allocations: 34.56 kB / 1.054 GB, free: 2.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.635e-06/0.4258, allocations: 0 / 1.054 GB, free: 2.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01693/0.4427, allocations: 1.725 MB / 1.056 GB, free: 0.707 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.4428, allocations: 51.41 kB / 1.056 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.4432, allocations: 304.5 kB / 1.056 GB, free: 348 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.4433, allocations: 33.7 kB / 1.056 GB, free: 308 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.4434, allocations: 164.2 kB / 1.056 GB, free: 140 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4436, allocations: 90.69 kB / 1.056 GB, free: 48 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.4436, allocations: 4 kB / 1.056 GB, free: 44 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.512/0.9556, allocations: 343.9 kB / 1.057 GB, free: 156.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.957, allocations: 206.8 kB / 1.057 GB, free: 156.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.9581, allocations: 263.3 kB / 1.057 GB, free: 156.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.9603, allocations: 441.7 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9603, allocations: 3.188 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007181/0.9675, allocations: 0.8993 MB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.9676, allocations: 5.219 kB / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.9676, allocations: 0 / 1.058 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.9696, allocations: 283.8 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.9701, allocations: 68.02 kB / 1.059 GB, free: 156.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.9837, allocations: 3.766 MB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.9846, allocations: 76.09 kB / 1.063 GB, free: 154 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/0.9847, allocations: 17.5 kB / 1.063 GB, free: 154 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 (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.0002046/0.9849, allocations: 143.1 kB / 1.063 GB, free: 153.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.985, allocations: 36.8 kB / 1.063 GB, free: 153.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007395/0.9924, allocations: 0.9502 MB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.9924, allocations: 2.781 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9925, allocations: 0.6094 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.9925, allocations: 1.312 kB / 1.064 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007247/0.9932, allocations: 422.1 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.9932, allocations: 4 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.9936, allocations: 61.61 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.9955, allocations: 279 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/0.9956, allocations: 12.11 kB / 1.064 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/1.009, allocations: 3.77 MB / 1.068 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.009, allocations: 0 / 1.068 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00755/1.017, allocations: 0.9548 MB / 1.069 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/1.017, allocations: 120.9 kB / 1.069 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/1.017, allocations: 4.875 kB / 1.069 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/1.018, allocations: 45.69 kB / 1.069 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.018, allocations: 19.52 kB / 1.069 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/1.018, allocations: 18.81 kB / 1.069 GB, free: 150.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003259/1.018, allocations: 225.3 kB / 1.069 GB, free: 150.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.018, allocations: 0 / 1.069 GB, free: 150.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007526/1.019, allocations: 115.8 kB / 1.07 GB, free: 150.5 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 (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.0002447/1.019, allocations: 113.2 kB / 1.07 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003311/1.023, allocations: 0.7336 MB / 1.07 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.023, allocations: 4.125 kB / 1.07 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.025, allocations: 0.5091 MB / 1.071 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008503/1.025, allocations: 102 kB / 1.071 GB, free: 149.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/1.028, allocations: 0.8244 MB / 1.072 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/1.029, allocations: 0.7703 MB / 1.073 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/1.029, allocations: 36.97 kB / 1.073 GB, free: 148.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/1.029, allocations: 0 / 1.073 GB, free: 148.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01475/1.044, allocations: 8.27 MB / 1.081 GB, free: 145.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)