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.64/1.64, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001284/0.001284, allocations: 183.8 kB / 361.4 MB, free: 6.84 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.776/1.776, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000998/0.0009979, allocations: 100.8 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/2.006e-05, allocations: 0 / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7647, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.646/6.411, allocations: 2.071 GB / 3.036 GB, free: 44.13 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/6.411, allocations: 92.06 kB / 3.036 GB, free: 44.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9782/7.39, allocations: 51.67 MB / 3.086 GB, free: 332.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.134e-06/7.39, allocations: 6.719 kB / 3.086 GB, free: 332.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.249e-05/7.39, allocations: 6.812 kB / 3.086 GB, free: 332.5 MB / 0.948 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.002191/7.392, allocations: 0.6418 MB / 3.087 GB, free: 332.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.465e-05/7.392, allocations: 9.344 kB / 3.087 GB, free: 332.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/7.395, allocations: 251.7 kB / 3.087 GB, free: 332.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007691/7.396, allocations: 304 kB / 3.087 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/7.396, allocations: 8.562 kB / 3.087 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/7.396, allocations: 15.94 kB / 3.087 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/7.397, allocations: 376 kB / 3.088 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/7.398, allocations: 323.8 kB / 3.088 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/7.398, allocations: 3.469 kB / 3.088 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/7.398, allocations: 0 / 3.088 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/7.398, allocations: 9.156 kB / 3.088 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/7.401, allocations: 1.063 MB / 3.089 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/7.402, allocations: 316.2 kB / 3.089 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/7.402, allocations: 151.1 kB / 3.09 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/7.402, allocations: 6.297 kB / 3.09 GB, free: 331.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/7.402, allocations: 40.36 kB / 3.09 GB, free: 331.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.405e-06/7.402, allocations: 2.625 kB / 3.09 GB, free: 331.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.005178/7.408, allocations: 0.6449 MB / 3.09 GB, free: 331.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/7.408, allocations: 56.91 kB / 3.09 GB, free: 331.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/7.408, allocations: 187.3 kB / 3.09 GB, free: 331.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/7.408, allocations: 25.7 kB / 3.091 GB, free: 331.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/7.408, allocations: 179.1 kB / 3.091 GB, free: 331.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/7.408, allocations: 82.02 kB / 3.091 GB, free: 331 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/7.408, allocations: 2.875 kB / 3.091 GB, free: 331 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/7.408, allocations: 330.2 kB / 3.091 GB, free: 330.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/7.409, allocations: 125.1 kB / 3.091 GB, free: 330.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/7.409, allocations: 177.9 kB / 3.091 GB, free: 330.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/7.409, allocations: 150.5 kB / 3.092 GB, free: 330.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/7.409, allocations: 3.062 kB / 3.092 GB, free: 330.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00485/7.414, allocations: 0.6915 MB / 3.092 GB, free: 330.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/7.414, allocations: 5.375 kB / 3.092 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/7.414, allocations: 3.844 kB / 3.092 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007326/7.415, allocations: 171.4 kB / 3.092 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/7.416, allocations: 68.75 kB / 3.092 GB, free: 330.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007671/7.423, allocations: 3.202 MB / 3.096 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009554/7.424, allocations: 57.09 kB / 3.096 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/7.424, allocations: 21.31 kB / 3.096 GB, free: 328.2 MB / 0.948 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.0002101/7.425, allocations: 111.4 kB / 3.096 GB, free: 328.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005116/7.43, allocations: 0.6485 MB / 3.096 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/7.43, allocations: 26.77 kB / 3.096 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/7.435, allocations: 0.7283 MB / 3.097 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/7.435, allocations: 2.969 kB / 3.097 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/7.435, allocations: 0 / 3.097 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/7.435, allocations: 6.875 kB / 3.097 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007971/7.436, allocations: 371.7 kB / 3.097 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/7.436, allocations: 1.375 kB / 3.097 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/7.437, allocations: 54.61 kB / 3.098 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006503/7.437, allocations: 173 kB / 3.098 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/7.437, allocations: 12.73 kB / 3.098 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0074/7.445, allocations: 3.2 MB / 3.101 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/7.445, allocations: 0 / 3.101 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/7.45, allocations: 0.7448 MB / 3.102 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/7.45, allocations: 102.2 kB / 3.102 GB, free: 325.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/7.45, allocations: 2.281 kB / 3.102 GB, free: 325.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/7.451, allocations: 43.27 kB / 3.102 GB, free: 325.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/7.451, allocations: 23.16 kB / 3.102 GB, free: 325.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/7.451, allocations: 19.31 kB / 3.102 GB, free: 325.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002401/7.452, allocations: 154.1 kB / 3.102 GB, free: 325 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.452, allocations: 1.25 kB / 3.102 GB, free: 325 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001233/7.453, allocations: 144.7 kB / 3.102 GB, free: 325 MB / 0.948 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.006919/7.46, allocations: 1.877 MB / 3.104 GB, free: 324.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001562/7.461, allocations: 0.5625 MB / 3.104 GB, free: 323.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/7.461, allocations: 0 / 3.104 GB, free: 323.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000812/7.462, allocations: 420.7 kB / 3.105 GB, free: 323.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/7.463, allocations: 56.62 kB / 3.105 GB, free: 323.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/7.465, allocations: 0.5084 MB / 3.105 GB, free: 323.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/7.466, allocations: 0.7728 MB / 3.106 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005416/7.466, allocations: 69.94 kB / 3.106 GB, free: 322.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/7.467, allocations: 93.39 kB / 3.106 GB, free: 322.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/7.467, allocations: 3.938 kB / 3.106 GB, free: 322.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/7.542, allocations: 18.36 MB / 3.124 GB, free: 321.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/7.542, allocations: 144.8 kB / 3.124 GB, free: 321.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/10.19, allocations: 0 / 3.124 GB, free: 321.6 MB / 0.948 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)