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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001145/0.001145, allocations: 191.5 kB / 371.8 MB, free: 10.28 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.552/1.552, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0009137/0.0009142, allocations: 90.92 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 15.16 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2339, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002244/0.2362, allocations: 1.867 MB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5931/0.8293, allocations: 128.3 MB / 1.107 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.8297, allocations: 6.688 kB / 1.107 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.8298, allocations: 21.88 kB / 1.107 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.8302, allocations: 111.4 kB / 1.107 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.831, allocations: 248.9 kB / 1.107 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.8314, allocations: 269 kB / 1.107 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.8316, allocations: 77.62 kB / 1.107 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.8319, allocations: 182.7 kB / 1.107 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.8321, allocations: 151.1 kB / 1.108 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.8322, allocations: 11.75 kB / 1.108 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.8327, allocations: 270.1 kB / 1.108 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.8327, allocations: 55.31 kB / 1.108 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.8329, allocations: 75.62 kB / 1.108 GB, free: 18.19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.8334, allocations: 333.5 kB / 1.108 GB, free: 18.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8334, allocations: 0 / 1.108 GB, free: 18.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8334, allocations: 4 kB / 1.108 GB, free: 18.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.8334, allocations: 5.219 kB / 1.108 GB, free: 18.15 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.001313/0.8347, allocations: 0.6637 MB / 1.109 GB, free: 17.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8348, allocations: 12.39 kB / 1.109 GB, free: 17.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.052e-05/0.8348, allocations: 60.03 kB / 1.109 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.8376, allocations: 258.8 kB / 1.109 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.838, allocations: 287.8 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.8381, allocations: 22.12 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.8381, allocations: 24.16 kB / 1.11 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.8396, allocations: 436.5 kB / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8397, allocations: 0 / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.8397, allocations: 9.875 kB / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.8397, allocations: 9.5 kB / 1.11 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.842, allocations: 0.5333 MB / 1.111 GB, free: 17.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.8451, allocations: 1.148 MB / 1.112 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.8474, allocations: 466 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.8474, allocations: 8.641 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.8475, allocations: 33.89 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.8475, allocations: 0 / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01617/0.8636, allocations: 1.712 MB / 1.114 GB, free: 16.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.8637, allocations: 61.92 kB / 1.114 GB, free: 16.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.8641, allocations: 312 kB / 1.114 GB, free: 16.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.8642, allocations: 30.64 kB / 1.114 GB, free: 16.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.8643, allocations: 169.8 kB / 1.114 GB, free: 16.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/0.8644, allocations: 82.06 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.8645, allocations: 7.281 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.8646, allocations: 344.2 kB / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.8657, allocations: 201.2 kB / 1.115 GB, free: 15.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.8667, allocations: 267.5 kB / 1.115 GB, free: 15.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.8679, allocations: 216.8 kB / 1.115 GB, free: 15.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.8679, allocations: 1.344 kB / 1.115 GB, free: 15.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00739/0.8753, allocations: 0.8897 MB / 1.116 GB, free: 15.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.8753, allocations: 4.906 kB / 1.116 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8754, allocations: 1.094 kB / 1.116 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.8773, allocations: 282.6 kB / 1.117 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.8779, allocations: 65.22 kB / 1.117 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.8923, allocations: 3.873 MB / 1.12 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/0.8932, allocations: 78.31 kB / 1.121 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.8933, allocations: 19.7 kB / 1.121 GB, free: 12.92 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.0002121/0.8935, allocations: 148.4 kB / 1.121 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.8936, allocations: 34.42 kB / 1.121 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007012/0.9006, allocations: 0.9329 MB / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.9006, allocations: 3 kB / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.9006, allocations: 4 kB / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9006, allocations: 2.156 kB / 1.122 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.9012, allocations: 426.9 kB / 1.122 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9012, allocations: 2.969 kB / 1.122 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.9016, allocations: 52.62 kB / 1.122 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.9034, allocations: 281.3 kB / 1.122 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.9035, allocations: 16.55 kB / 1.122 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.9173, allocations: 3.862 MB / 1.126 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9173, allocations: 0 / 1.126 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006883/0.9242, allocations: 0.9555 MB / 1.127 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.9244, allocations: 121.9 kB / 1.127 GB, free: 8.836 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.9245, allocations: 3.062 kB / 1.127 GB, free: 8.836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.9252, allocations: 46.92 kB / 1.127 GB, free: 8.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.9253, allocations: 23.69 kB / 1.127 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.9253, allocations: 13.19 kB / 1.127 GB, free: 8.801 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002333/0.9256, allocations: 226.2 kB / 1.128 GB, free: 8.695 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9256, allocations: 1.859 kB / 1.128 GB, free: 8.695 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006359/0.9262, allocations: 115.6 kB / 1.128 GB, free: 8.688 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.006967/0.9332, allocations: 1.506 MB / 1.129 GB, free: 7.727 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.9358, allocations: 0.7285 MB / 1.13 GB, free: 7.363 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9359, allocations: 4.062 kB / 1.13 GB, free: 7.359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.9373, allocations: 0.5004 MB / 1.13 GB, free: 7.051 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.9379, allocations: 96.33 kB / 1.13 GB, free: 7.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.9492, allocations: 2.917 MB / 1.133 GB, free: 5.547 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.9496, allocations: 0.78 MB / 1.134 GB, free: 4.805 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000523/0.9502, allocations: 79.12 kB / 1.134 GB, free: 4.758 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.9504, allocations: 100.7 kB / 1.134 GB, free: 4.734 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/0.9504, allocations: 1.188 kB / 1.134 GB, free: 4.734 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.984, allocations: 15.67 MB / 1.149 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.9842, allocations: 211.8 kB / 1.15 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/3.19, allocations: 0 / 1.15 GB, free: 12.6 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)