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.328/1.328, allocations: 252 MB / 267.3 MB, free: 10.85 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.001068/0.001068, allocations: 179.8 kB / 327 MB, free: 2.09 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.585/1.585, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007615/0.0007616, allocations: 92.02 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 8.844 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002871/0.2242, allocations: 1.997 MB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.3767, allocations: 148.1 MB / 1.048 GB, free: 8.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.3769, allocations: 3.938 kB / 1.048 GB, free: 8.656 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.3771, allocations: 35.72 kB / 1.048 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.3774, allocations: 87.31 kB / 1.048 GB, free: 8.535 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.3781, allocations: 267.2 kB / 1.048 GB, free: 8.273 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.3785, allocations: 407.7 kB / 1.048 GB, free: 7.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.3788, allocations: 103.7 kB / 1.048 GB, free: 7.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.3809, allocations: 239.9 kB / 1.049 GB, free: 7.559 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3812, allocations: 159.3 kB / 1.049 GB, free: 7.402 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.3812, allocations: 12 kB / 1.049 GB, free: 7.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.3818, allocations: 263.6 kB / 1.049 GB, free: 7.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.3819, allocations: 55.73 kB / 1.049 GB, free: 7.078 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3821, allocations: 168.9 kB / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.3826, allocations: 450.9 kB / 1.05 GB, free: 6.465 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3826, allocations: 3.938 kB / 1.05 GB, free: 6.461 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3826, allocations: 4 kB / 1.05 GB, free: 6.457 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3826, allocations: 0 / 1.05 GB, free: 6.457 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.00129/0.3839, allocations: 0.6667 MB / 1.05 GB, free: 5.742 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.384, allocations: 12.02 kB / 1.05 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.3841, allocations: 62.73 kB / 1.05 GB, free: 5.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.3867, allocations: 255.3 kB / 1.051 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.3871, allocations: 291.3 kB / 1.051 GB, free: 5.086 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3871, allocations: 24.56 kB / 1.051 GB, free: 5.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.3872, allocations: 28 kB / 1.051 GB, free: 5.035 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.3886, allocations: 440.4 kB / 1.051 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3886, allocations: 0 / 1.051 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.3887, allocations: 15.94 kB / 1.051 GB, free: 4.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3887, allocations: 12 kB / 1.051 GB, free: 4.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.391, allocations: 0.5252 MB / 1.052 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.3941, allocations: 1.14 MB / 1.053 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.3964, allocations: 470.7 kB / 1.053 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.3974, allocations: 240.7 kB / 1.054 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.3975, allocations: 4 kB / 1.054 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3975, allocations: 38.5 kB / 1.054 GB, free: 2.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.065e-06/0.3975, allocations: 0 / 1.054 GB, free: 2.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.01611/0.4136, allocations: 1.713 MB / 1.055 GB, free: 340 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.4137, allocations: 51.41 kB / 1.055 GB, free: 276 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3905/0.8043, allocations: 300.3 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.8045, allocations: 30.55 kB / 1.056 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.8046, allocations: 169.6 kB / 1.056 GB, free: 156.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.8047, allocations: 89.58 kB / 1.056 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.8047, allocations: 5.188 kB / 1.056 GB, free: 156.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.8048, allocations: 344.2 kB / 1.056 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.8059, allocations: 206.1 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.8069, allocations: 266.7 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.8089, allocations: 442 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.809, allocations: 2.906 kB / 1.057 GB, free: 156.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006813/0.8158, allocations: 0.8891 MB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.8158, allocations: 6.328 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.8158, allocations: 6.844 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.8177, allocations: 283.3 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.8181, allocations: 67.88 kB / 1.058 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.8311, allocations: 3.762 MB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/0.8319, allocations: 73.33 kB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.832, allocations: 20.06 kB / 1.062 GB, free: 153.7 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.0001708/0.8322, allocations: 155.5 kB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.8323, allocations: 32.31 kB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007295/0.8396, allocations: 0.9401 MB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.8396, allocations: 3.625 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.8396, allocations: 7.719 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.8396, allocations: 1.266 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005088/0.8401, allocations: 424.6 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8401, allocations: 8.469 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.8405, allocations: 54.38 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.8423, allocations: 278.5 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.8424, allocations: 13.95 kB / 1.064 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.8551, allocations: 3.762 MB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8551, allocations: 4.812 kB / 1.068 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/0.8619, allocations: 0.9563 MB / 1.069 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.862, allocations: 116.2 kB / 1.069 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.8621, allocations: 4.344 kB / 1.069 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/0.8629, allocations: 48 kB / 1.069 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.863, allocations: 19.25 kB / 1.069 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.863, allocations: 16.08 kB / 1.069 GB, free: 150.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002727/0.8633, allocations: 224.5 kB / 1.069 GB, free: 150.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8633, allocations: 0 / 1.069 GB, free: 150.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006537/0.864, allocations: 117.8 kB / 1.069 GB, free: 150.2 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.008072/0.872, allocations: 1.516 MB / 1.071 GB, free: 149.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003703/0.8758, allocations: 0.73 MB / 1.071 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8758, allocations: 4.125 kB / 1.071 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/0.8777, allocations: 0.4997 MB / 1.072 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.8787, allocations: 101.8 kB / 1.072 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.8999, allocations: 4.499 MB / 1.076 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.9003, allocations: 0.7635 MB / 1.077 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000587/0.9009, allocations: 79.7 kB / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.9012, allocations: 100.8 kB / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/0.9012, allocations: 0 / 1.077 GB, free: 146.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03875/0.9399, allocations: 15.71 MB / 1.093 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.9401, allocations: 233.1 kB / 1.093 GB, free: 136.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/3.21, allocations: 0 / 1.093 GB, free: 136.8 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)