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.727/1.727, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.0009691/0.0009693, allocations: 183 kB / 372 MB, free: 10.24 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.493/1.493, allocations: 205.4 MB / 0.6307 GB, free: 9.863 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.001031/0.001031, allocations: 98.3 kB / 0.744 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.0005167, allocations: 14.34 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00195/0.215, allocations: 1.917 MB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5872/0.8023, allocations: 138.1 MB / 1.116 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.8025, allocations: 3.844 kB / 1.116 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.8026, allocations: 34.02 kB / 1.116 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.8029, allocations: 89.06 kB / 1.117 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.8036, allocations: 235.8 kB / 1.117 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.8039, allocations: 370.9 kB / 1.117 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.8041, allocations: 81.92 kB / 1.117 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.8045, allocations: 206.8 kB / 1.117 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.8047, allocations: 158.4 kB / 1.118 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.8048, allocations: 16.12 kB / 1.118 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.8053, allocations: 250.8 kB / 1.118 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.8054, allocations: 52.84 kB / 1.118 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.8055, allocations: 78.05 kB / 1.118 GB, free: 17.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.8059, allocations: 333.7 kB / 1.118 GB, free: 17.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.806, allocations: 1.344 kB / 1.118 GB, free: 17.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.806, allocations: 1.859 kB / 1.118 GB, free: 17.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.806, allocations: 0 / 1.118 GB, free: 17.59 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.001311/0.8073, allocations: 0.6624 MB / 1.119 GB, free: 17.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.8073, allocations: 18.02 kB / 1.119 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.8074, allocations: 65.09 kB / 1.119 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.8103, allocations: 255 kB / 1.119 GB, free: 17.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.8106, allocations: 290.2 kB / 1.119 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.8107, allocations: 24.39 kB / 1.119 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.025e-05/0.8107, allocations: 24.09 kB / 1.12 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.8122, allocations: 438.4 kB / 1.12 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.8122, allocations: 0 / 1.12 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.8123, allocations: 11.22 kB / 1.12 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.8123, allocations: 7.094 kB / 1.12 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.8146, allocations: 0.5291 MB / 1.12 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.8176, allocations: 1.149 MB / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.8199, allocations: 462.1 kB / 1.122 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.821, allocations: 236.9 kB / 1.122 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.821, allocations: 3.344 kB / 1.122 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.8211, allocations: 42.22 kB / 1.122 GB, free: 16.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.875e-06/0.8211, allocations: 3.984 kB / 1.122 GB, free: 16.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01639/0.8375, allocations: 1.714 MB / 1.124 GB, free: 15.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.8376, allocations: 54.28 kB / 1.124 GB, free: 15.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.8382, allocations: 307.5 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.8383, allocations: 33.17 kB / 1.124 GB, free: 15.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.8385, allocations: 166.3 kB / 1.124 GB, free: 15.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.8386, allocations: 89.06 kB / 1.125 GB, free: 15.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.8386, allocations: 4.469 kB / 1.125 GB, free: 15.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.8388, allocations: 345.8 kB / 1.125 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.8399, allocations: 206.6 kB / 1.125 GB, free: 15.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.841, allocations: 268.4 kB / 1.125 GB, free: 15.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.842, allocations: 213.7 kB / 1.126 GB, free: 15.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.842, allocations: 0 / 1.126 GB, free: 15.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006953/0.849, allocations: 0.8915 MB / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.849, allocations: 5.844 kB / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.849, allocations: 0 / 1.126 GB, free: 15.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.8509, allocations: 277.1 kB / 1.127 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/0.8514, allocations: 69.84 kB / 1.127 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.865, allocations: 3.766 MB / 1.13 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/0.866, allocations: 78.77 kB / 1.131 GB, free: 12.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.8661, allocations: 20.22 kB / 1.131 GB, free: 12.34 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.0002074/0.8663, allocations: 147.5 kB / 1.131 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.8664, allocations: 31.22 kB / 1.131 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007036/0.8734, allocations: 0.9403 MB / 1.132 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.8734, allocations: 0 / 1.132 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.8735, allocations: 3.344 kB / 1.132 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.8735, allocations: 4.188 kB / 1.132 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.874, allocations: 423.4 kB / 1.132 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.874, allocations: 0 / 1.132 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.8744, allocations: 58.28 kB / 1.132 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.8762, allocations: 281.8 kB / 1.132 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.8762, allocations: 14.59 kB / 1.132 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.8895, allocations: 3.763 MB / 1.136 GB, free: 8.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.8895, allocations: 7.984 kB / 1.136 GB, free: 8.656 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007159/0.8967, allocations: 0.9493 MB / 1.137 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.8969, allocations: 116.9 kB / 1.137 GB, free: 8.117 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.897, allocations: 14.22 kB / 1.137 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.8977, allocations: 47.14 kB / 1.137 GB, free: 8.094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.8978, allocations: 20.41 kB / 1.137 GB, free: 8.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.8979, allocations: 14.34 kB / 1.137 GB, free: 8.078 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002233/0.8981, allocations: 221.9 kB / 1.137 GB, free: 7.973 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8981, allocations: 0 / 1.137 GB, free: 7.973 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006281/0.8987, allocations: 115.6 kB / 1.138 GB, free: 7.965 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.007778/0.9065, allocations: 1.51 MB / 1.139 GB, free: 7.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003026/0.9096, allocations: 0.731 MB / 1.14 GB, free: 6.637 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9096, allocations: 128 / 1.14 GB, free: 6.637 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.9112, allocations: 0.5041 MB / 1.14 GB, free: 6.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.912, allocations: 98.62 kB / 1.14 GB, free: 6.297 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.9243, allocations: 2.617 MB / 1.143 GB, free: 5.137 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.9247, allocations: 0.7685 MB / 1.144 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006089/0.9253, allocations: 86.59 kB / 1.144 GB, free: 4.344 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.9255, allocations: 99.7 kB / 1.144 GB, free: 4.324 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/0.9255, allocations: 1.062 kB / 1.144 GB, free: 4.324 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.9579, allocations: 15.7 MB / 1.159 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.9581, allocations: 212.1 kB / 1.159 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.2, allocations: 3.938 kB / 1.159 GB, free: 12.18 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)