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.467/1.467, allocations: 251.9 MB / 266.9 MB, free: 11 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.00133/0.00133, allocations: 187.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.229/2.229, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.00105/0.00105, allocations: 90.27 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 9.062 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2994, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.484/5.783, allocations: 2.19 GB / 3.09 GB, free: 31.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/5.784, allocations: 87.95 kB / 3.09 GB, free: 31.03 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5989/6.383, allocations: 51.49 MB / 3.141 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/6.383, allocations: 1.438 kB / 3.141 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.731e-05/6.383, allocations: 9.312 kB / 3.141 GB, free: 319.1 MB / 0.8855 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.001706/6.385, allocations: 0.6756 MB / 3.141 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/6.385, allocations: 12.94 kB / 3.141 GB, free: 318.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/6.385, allocations: 67.64 kB / 3.141 GB, free: 318.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/6.388, allocations: 243.5 kB / 3.142 GB, free: 318.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/6.388, allocations: 305.4 kB / 3.142 GB, free: 318.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/6.388, allocations: 21.19 kB / 3.142 GB, free: 318.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/6.388, allocations: 25.84 kB / 3.142 GB, free: 318.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/6.39, allocations: 433.4 kB / 3.142 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/6.39, allocations: 1.125 kB / 3.142 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/6.39, allocations: 10.03 kB / 3.142 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/6.39, allocations: 6.344 kB / 3.142 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/6.393, allocations: 0.5365 MB / 3.143 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/6.396, allocations: 1.14 MB / 3.144 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/6.398, allocations: 472.9 kB / 3.144 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/6.399, allocations: 3.656 kB / 3.144 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/6.399, allocations: 40.59 kB / 3.144 GB, free: 317.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 3.256e-06/6.399, allocations: 0 / 3.144 GB, free: 317.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.01854/6.417, allocations: 1.717 MB / 3.146 GB, free: 317.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/6.417, allocations: 58.14 kB / 3.146 GB, free: 317.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/6.418, allocations: 265.6 kB / 3.146 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/6.418, allocations: 30.64 kB / 3.146 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/6.418, allocations: 169.7 kB / 3.147 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/6.418, allocations: 87.2 kB / 3.147 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/6.418, allocations: 8.812 kB / 3.147 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001003/6.418, allocations: 342.8 kB / 3.147 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/6.419, allocations: 210.5 kB / 3.147 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/6.421, allocations: 260.9 kB / 3.147 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/6.422, allocations: 219.1 kB / 3.148 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.422, allocations: 0 / 3.148 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007857/6.43, allocations: 0.8965 MB / 3.149 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/6.43, allocations: 3.875 kB / 3.149 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/6.43, allocations: 0 / 3.149 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/6.432, allocations: 289.1 kB / 3.149 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/6.432, allocations: 70.73 kB / 3.149 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/6.448, allocations: 3.876 MB / 3.153 GB, free: 314 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/6.45, allocations: 76.66 kB / 3.153 GB, free: 313.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/6.45, allocations: 21.47 kB / 3.153 GB, free: 313.9 MB / 0.8855 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.0002515/6.45, allocations: 140.7 kB / 3.153 GB, free: 313.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/6.45, allocations: 34.69 kB / 3.153 GB, free: 313.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008158/6.458, allocations: 0.9563 MB / 3.154 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/6.458, allocations: 3.406 kB / 3.154 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/6.458, allocations: 0 / 3.154 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/6.458, allocations: 4 kB / 3.154 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007824/6.459, allocations: 425.3 kB / 3.154 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/6.459, allocations: 0 / 3.154 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/6.46, allocations: 57.14 kB / 3.154 GB, free: 313.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/6.462, allocations: 277.5 kB / 3.155 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/6.462, allocations: 14.5 kB / 3.155 GB, free: 313.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/6.477, allocations: 3.855 MB / 3.158 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/6.477, allocations: 6.375 kB / 3.158 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007548/6.484, allocations: 0.9596 MB / 3.159 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/6.484, allocations: 117.7 kB / 3.159 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/6.485, allocations: 6.906 kB / 3.159 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/6.485, allocations: 53.81 kB / 3.159 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/6.485, allocations: 20.42 kB / 3.159 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/6.485, allocations: 15.08 kB / 3.16 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002268/6.486, allocations: 219.5 kB / 3.16 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.603e-06/6.486, allocations: 0 / 3.16 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000834/6.487, allocations: 168.1 kB / 3.16 GB, free: 310.4 MB / 0.8855 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.008907/6.495, allocations: 1.987 MB / 3.162 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003078/6.499, allocations: 0.7357 MB / 3.163 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/6.499, allocations: 0 / 3.163 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/6.5, allocations: 0.5052 MB / 3.163 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/6.501, allocations: 102.8 kB / 3.163 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/6.514, allocations: 2.934 MB / 3.166 GB, free: 308 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/6.514, allocations: 0.7782 MB / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000548/6.514, allocations: 76.55 kB / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/6.515, allocations: 98.45 kB / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.934e-06/6.515, allocations: 0 / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/6.556, allocations: 25.35 MB / 3.192 GB, free: 288.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/6.556, allocations: 209.3 kB / 3.192 GB, free: 288.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/9.272, allocations: 4 kB / 3.192 GB, free: 288.2 MB / 0.8855 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)