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.355/1.355, allocations: 252 MB / 267 MB, free: 10.94 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.0008913/0.0008914, allocations: 177.5 kB / 326.6 MB, free: 2.215 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.581/1.581, allocations: 205.4 MB / 0.5776 GB, free: 20.56 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.000676/0.0006761, allocations: 84.17 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005073, allocations: 9.906 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2641, allocations: 106.3 MB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003123/0.2672, allocations: 1.924 MB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.4451, allocations: 138.1 MB / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.4453, allocations: 7.938 kB / 1.037 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.4455, allocations: 31.66 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.4458, allocations: 83.39 kB / 1.037 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.4464, allocations: 247.2 kB / 1.037 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.4467, allocations: 371.8 kB / 1.038 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.4469, allocations: 75.81 kB / 1.038 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.4473, allocations: 215.4 kB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.4475, allocations: 151.3 kB / 1.038 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.4476, allocations: 16 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004349/0.448, allocations: 255.5 kB / 1.038 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.4481, allocations: 55.75 kB / 1.039 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.4481, allocations: 73.58 kB / 1.039 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.4485, allocations: 335.5 kB / 1.039 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4485, allocations: 0 / 1.039 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.955e-06/0.4485, allocations: 0 / 1.039 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4485, allocations: 3.938 kB / 1.039 GB, free: 1.992 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.001272/0.4498, allocations: 0.6688 MB / 1.04 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4498, allocations: 16.03 kB / 1.04 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.427e-05/0.4499, allocations: 58.55 kB / 1.04 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.4528, allocations: 247.3 kB / 1.04 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.4532, allocations: 291.5 kB / 1.04 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4532, allocations: 20.56 kB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.4533, allocations: 24 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.4548, allocations: 436.5 kB / 1.041 GB, free: 152 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.4548, allocations: 3.953 kB / 1.041 GB, free: 148 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.4548, allocations: 12 kB / 1.041 GB, free: 136 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4549, allocations: 8 kB / 1.041 GB, free: 128 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.4573, allocations: 0.5331 MB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.4604, allocations: 1.14 MB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.4627, allocations: 466.3 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.4639, allocations: 236.6 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.4639, allocations: 4 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.4639, allocations: 34.56 kB / 1.043 GB, free: 13.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.564e-06/0.4639, allocations: 4 kB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01685/0.4808, allocations: 1.71 MB / 1.045 GB, free: 11.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4809, allocations: 59.36 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.4812, allocations: 304.5 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/0.4813, allocations: 33.7 kB / 1.045 GB, free: 11.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4814, allocations: 164.2 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.4815, allocations: 90.73 kB / 1.045 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.4815, allocations: 4 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.4817, allocations: 350.7 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.4828, allocations: 200.4 kB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4839, allocations: 270.9 kB / 1.046 GB, free: 10.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.4849, allocations: 211.9 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.485, allocations: 0 / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00733/0.4923, allocations: 0.8893 MB / 1.047 GB, free: 9.281 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4923, allocations: 4 kB / 1.047 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.4924, allocations: 3.938 kB / 1.047 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.4943, allocations: 285.4 kB / 1.047 GB, free: 8.988 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.4949, allocations: 71.94 kB / 1.047 GB, free: 8.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/0.509, allocations: 3.767 MB / 1.051 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.5099, allocations: 75.67 kB / 1.051 GB, free: 4.809 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.51, allocations: 19.97 kB / 1.051 GB, free: 4.789 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.000193/0.5102, allocations: 141.8 kB / 1.051 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.5103, allocations: 39.56 kB / 1.051 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007575/0.5179, allocations: 0.9372 MB / 1.052 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.5179, allocations: 11.92 kB / 1.052 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5179, allocations: 0 / 1.052 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5179, allocations: 0 / 1.052 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.5186, allocations: 428.6 kB / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5186, allocations: 0 / 1.053 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.519, allocations: 59.89 kB / 1.053 GB, free: 3.117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.5209, allocations: 277.4 kB / 1.053 GB, free: 2.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.5209, allocations: 15.97 kB / 1.053 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3627/0.8837, allocations: 3.752 MB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8837, allocations: 5.109 kB / 1.057 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00732/0.891, allocations: 0.9591 MB / 1.058 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.8912, allocations: 117.6 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.8913, allocations: 3.562 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007758/0.8921, allocations: 44.75 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.8922, allocations: 23.91 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.8922, allocations: 12.62 kB / 1.058 GB, free: 154.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002133/0.8924, allocations: 227 kB / 1.058 GB, free: 154.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8924, allocations: 1.438 kB / 1.058 GB, free: 154.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005948/0.893, allocations: 114 kB / 1.058 GB, free: 154.6 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.007452/0.9005, allocations: 1.502 MB / 1.06 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.9038, allocations: 0.7381 MB / 1.06 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9038, allocations: 0 / 1.06 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.9056, allocations: 0.5045 MB / 1.061 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.9064, allocations: 106.5 kB / 1.061 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.9182, allocations: 2.612 MB / 1.064 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.9184, allocations: 0.7706 MB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005199/0.9189, allocations: 79.81 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.9191, allocations: 95.95 kB / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.9191, allocations: 0 / 1.064 GB, free: 152.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.9494, allocations: 15.71 MB / 1.08 GB, free: 146.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.9496, allocations: 226.6 kB / 1.08 GB, free: 146.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.182, allocations: 4 kB / 1.08 GB, free: 146.2 MB / 0.698 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)