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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 249.5 MB / 257 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 182.1 kB / 316.3 MB, free: 3.316 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.732/1.732, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008327/0.0008327, allocations: 90.62 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/1.991e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2199, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.264/5.484, allocations: 2.19 GB / 3.076 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/5.484, allocations: 84.45 kB / 3.076 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09753/5.582, allocations: 50.6 MB / 3.125 GB, free: 166 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.454e-06/5.582, allocations: 0 / 3.125 GB, free: 166 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.024e-05/5.582, allocations: 15.94 kB / 3.125 GB, free: 166 MB / 0.8698 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.001113/5.583, allocations: 0.6466 MB / 3.126 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/5.583, allocations: 12.03 kB / 3.126 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/5.585, allocations: 243.3 kB / 3.126 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/5.586, allocations: 303.3 kB / 3.126 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/5.586, allocations: 19.92 kB / 3.126 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/5.586, allocations: 16 kB / 3.126 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000606/5.586, allocations: 376.9 kB / 3.127 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/5.587, allocations: 311.6 kB / 3.127 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/5.587, allocations: 3.984 kB / 3.127 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/5.587, allocations: 4 kB / 3.127 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/5.587, allocations: 8 kB / 3.127 GB, free: 164 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/5.59, allocations: 1.065 MB / 3.128 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005553/5.59, allocations: 314.6 kB / 3.128 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/5.59, allocations: 144.8 kB / 3.128 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/5.59, allocations: 8 kB / 3.128 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/5.59, allocations: 34.56 kB / 3.128 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/5.59, allocations: 0 / 3.128 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.004533/5.595, allocations: 0.6498 MB / 3.129 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/5.595, allocations: 59.36 kB / 3.129 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/5.595, allocations: 183.9 kB / 3.129 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/5.595, allocations: 25.7 kB / 3.129 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/5.595, allocations: 184 kB / 3.129 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6e-05/5.595, allocations: 78.75 kB / 3.13 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/5.595, allocations: 4 kB / 3.13 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/5.596, allocations: 338.8 kB / 3.13 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/5.596, allocations: 116.5 kB / 3.13 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/5.596, allocations: 186.7 kB / 3.13 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/5.596, allocations: 160.4 kB / 3.13 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/5.596, allocations: 0 / 3.13 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004401/5.601, allocations: 0.6782 MB / 3.131 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/5.601, allocations: 7.953 kB / 3.131 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/5.601, allocations: 8 kB / 3.131 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/5.601, allocations: 177.5 kB / 3.131 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/5.602, allocations: 63.95 kB / 3.131 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/5.608, allocations: 3.191 MB / 3.134 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/5.609, allocations: 59.81 kB / 3.134 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/5.609, allocations: 19.97 kB / 3.134 GB, free: 155.9 MB / 0.8698 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 () * 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.0001297/5.609, allocations: 108.9 kB / 3.135 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004418/5.613, allocations: 0.6509 MB / 3.135 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/5.613, allocations: 23.72 kB / 3.135 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/5.618, allocations: 0.7246 MB / 3.136 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/5.618, allocations: 7.953 kB / 3.136 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/5.618, allocations: 4 kB / 3.136 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/5.618, allocations: 4 kB / 3.136 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/5.619, allocations: 381.5 kB / 3.136 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/5.619, allocations: 0 / 3.136 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/5.619, allocations: 59.89 kB / 3.136 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/5.62, allocations: 177.5 kB / 3.137 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/5.62, allocations: 15.92 kB / 3.137 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/5.626, allocations: 3.191 MB / 3.14 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/5.626, allocations: 0 / 3.14 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004361/5.63, allocations: 0.7427 MB / 3.14 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/5.631, allocations: 108.8 kB / 3.14 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/5.631, allocations: 0 / 3.14 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/5.631, allocations: 39.95 kB / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/5.631, allocations: 19.97 kB / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/5.631, allocations: 23.97 kB / 3.141 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001114/5.631, allocations: 148.5 kB / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/5.631, allocations: 0 / 3.141 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007197/5.632, allocations: 147.8 kB / 3.141 GB, free: 149 MB / 0.8698 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 () * 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.005098/5.637, allocations: 1.865 MB / 3.143 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001038/5.638, allocations: 0.5579 MB / 3.143 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/5.638, allocations: 0 / 3.143 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000591/5.639, allocations: 423.5 kB / 3.144 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/5.639, allocations: 54.08 kB / 3.144 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/5.641, allocations: 0.5103 MB / 3.144 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/5.641, allocations: 0.7757 MB / 3.145 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004493/5.642, allocations: 69.98 kB / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/5.642, allocations: 91.39 kB / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/5.642, allocations: 0 / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/5.678, allocations: 18.37 MB / 3.163 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/5.679, allocations: 135 kB / 3.163 GB, free: 126 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/8.092, allocations: 0 / 3.163 GB, free: 126 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)