Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001315/0.001315, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.948/1.948, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.000894/0.000894, allocations: 95.2 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.57e-05, allocations: 0 / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.781, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.63/6.411, allocations: 2.072 GB / 3.046 GB, free: 12.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004536/6.412, allocations: 78.77 kB / 3.046 GB, free: 12.19 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9913/7.403, allocations: 51.69 MB / 3.096 GB, free: 333.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.275e-06/7.403, allocations: 0 / 3.096 GB, free: 333.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.392e-05/7.403, allocations: 6.469 kB / 3.096 GB, free: 333.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.001714/7.405, allocations: 0.6383 MB / 3.097 GB, free: 333.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/7.405, allocations: 9.875 kB / 3.097 GB, free: 333.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/7.408, allocations: 251.9 kB / 3.097 GB, free: 333 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/7.409, allocations: 307.6 kB / 3.097 GB, free: 332.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/7.409, allocations: 8.469 kB / 3.097 GB, free: 332.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/7.409, allocations: 16.34 kB / 3.097 GB, free: 332.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009038/7.41, allocations: 369.6 kB / 3.098 GB, free: 332.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/7.41, allocations: 319.4 kB / 3.098 GB, free: 332.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/7.41, allocations: 3.938 kB / 3.098 GB, free: 332.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/7.41, allocations: 0 / 3.098 GB, free: 332.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/7.41, allocations: 14.91 kB / 3.098 GB, free: 332.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/7.414, allocations: 1.05 MB / 3.099 GB, free: 332 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/7.415, allocations: 312.3 kB / 3.099 GB, free: 331.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/7.415, allocations: 155.4 kB / 3.099 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/7.415, allocations: 5.328 kB / 3.099 GB, free: 331.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/7.415, allocations: 40.66 kB / 3.099 GB, free: 331.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 3.397e-06/7.415, allocations: 0 / 3.099 GB, free: 331.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.005282/7.42, allocations: 0.6461 MB / 3.1 GB, free: 331.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/7.42, allocations: 61.12 kB / 3.1 GB, free: 331.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/7.421, allocations: 185.5 kB / 3.1 GB, free: 331.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/7.421, allocations: 29.7 kB / 3.1 GB, free: 331.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/7.421, allocations: 177.2 kB / 3.101 GB, free: 331.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.155e-05/7.421, allocations: 83.31 kB / 3.101 GB, free: 331.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/7.421, allocations: 0 / 3.101 GB, free: 331.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000114/7.421, allocations: 330.9 kB / 3.101 GB, free: 330.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/7.421, allocations: 124.7 kB / 3.101 GB, free: 330.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/7.422, allocations: 186.7 kB / 3.101 GB, free: 330.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/7.422, allocations: 146.5 kB / 3.101 GB, free: 330.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/7.422, allocations: 0 / 3.101 GB, free: 330.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004972/7.427, allocations: 0.6954 MB / 3.102 GB, free: 330.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/7.427, allocations: 7.062 kB / 3.102 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/7.427, allocations: 1.375 kB / 3.102 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007369/7.428, allocations: 172.7 kB / 3.102 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/7.428, allocations: 73.11 kB / 3.102 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/7.436, allocations: 3.197 MB / 3.105 GB, free: 327.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/7.437, allocations: 53.81 kB / 3.105 GB, free: 327.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/7.437, allocations: 20.19 kB / 3.105 GB, free: 327.6 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.0001627/7.437, allocations: 109.8 kB / 3.106 GB, free: 327.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004907/7.442, allocations: 0.6579 MB / 3.106 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-05/7.442, allocations: 22.47 kB / 3.106 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/7.447, allocations: 0.7302 MB / 3.107 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/7.447, allocations: 7.109 kB / 3.107 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/7.447, allocations: 0 / 3.107 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/7.447, allocations: 6.656 kB / 3.107 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/7.448, allocations: 379.1 kB / 3.107 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/7.448, allocations: 5.5 kB / 3.107 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/7.448, allocations: 56.28 kB / 3.107 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006056/7.449, allocations: 172.3 kB / 3.108 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/7.449, allocations: 9.094 kB / 3.108 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007176/7.456, allocations: 3.2 MB / 3.111 GB, free: 324.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/7.456, allocations: 0 / 3.111 GB, free: 324.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004875/7.461, allocations: 0.7394 MB / 3.111 GB, free: 323.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/7.461, allocations: 102.3 kB / 3.112 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/7.461, allocations: 1.406 kB / 3.112 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/7.462, allocations: 43.16 kB / 3.112 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/7.462, allocations: 18.44 kB / 3.112 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/7.462, allocations: 14.02 kB / 3.112 GB, free: 323.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001769/7.462, allocations: 155.2 kB / 3.112 GB, free: 323.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.4e-07/7.462, allocations: 0 / 3.112 GB, free: 323.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001013/7.463, allocations: 152.4 kB / 3.112 GB, free: 323.5 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.006381/7.47, allocations: 1.863 MB / 3.114 GB, free: 322.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001378/7.471, allocations: 0.5588 MB / 3.114 GB, free: 322.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/7.471, allocations: 0 / 3.114 GB, free: 322.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007441/7.472, allocations: 422.1 kB / 3.115 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/7.472, allocations: 62.67 kB / 3.115 GB, free: 322 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/7.475, allocations: 0.5112 MB / 3.115 GB, free: 321.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/7.475, allocations: 0.7793 MB / 3.116 GB, free: 321 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004822/7.475, allocations: 67.89 kB / 3.116 GB, free: 321 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/7.476, allocations: 91.58 kB / 3.116 GB, free: 320.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/7.476, allocations: 0 / 3.116 GB, free: 320.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05239/7.528, allocations: 18.35 MB / 3.134 GB, free: 312.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/7.528, allocations: 123.9 kB / 3.134 GB, free: 312.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/10.36, allocations: 4 kB / 3.134 GB, free: 312.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_8_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1)