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.647/1.647, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 174.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.1 MB / 0.572 GB, free: 10.67 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.000991/0.000991, allocations: 78.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.804e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2359, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.446/7.682, allocations: 2.19 GB / 3.082 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004234/7.682, allocations: 85.7 kB / 3.082 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1023/7.784, allocations: 51.39 MB / 3.132 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/7.785, allocations: 0 / 3.132 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.113e-05/7.785, allocations: 8.188 kB / 3.132 GB, free: 91.67 MB / 0.8698 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.001168/7.786, allocations: 0.6425 MB / 3.133 GB, free: 90.98 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/7.786, allocations: 8.031 kB / 3.133 GB, free: 90.98 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.884e-05/7.786, allocations: 66.47 kB / 3.133 GB, free: 90.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/7.788, allocations: 247.4 kB / 3.133 GB, free: 90.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/7.789, allocations: 303.3 kB / 3.133 GB, free: 90.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/7.789, allocations: 24.56 kB / 3.133 GB, free: 90.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/7.789, allocations: 28 kB / 3.133 GB, free: 90.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/7.789, allocations: 356.6 kB / 3.134 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/7.789, allocations: 0 / 3.134 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/7.789, allocations: 8 kB / 3.134 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/7.789, allocations: 8 kB / 3.134 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/7.79, allocations: 390 kB / 3.134 GB, free: 89.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/7.793, allocations: 1.148 MB / 3.135 GB, free: 88.31 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/7.793, allocations: 327.5 kB / 3.136 GB, free: 87.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/7.794, allocations: 156.8 kB / 3.136 GB, free: 87.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/7.794, allocations: 8.375 kB / 3.136 GB, free: 87.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/7.794, allocations: 34.56 kB / 3.136 GB, free: 87.78 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/7.794, allocations: 0 / 3.136 GB, free: 87.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.004494/7.798, allocations: 0.6674 MB / 3.136 GB, free: 87.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/7.798, allocations: 51.41 kB / 3.136 GB, free: 87.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/7.799, allocations: 266.8 kB / 3.137 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/7.799, allocations: 33.7 kB / 3.137 GB, free: 86.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/7.799, allocations: 168.2 kB / 3.137 GB, free: 86.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/7.799, allocations: 86.75 kB / 3.137 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/7.799, allocations: 4 kB / 3.137 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/7.799, allocations: 346.8 kB / 3.137 GB, free: 86.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/7.799, allocations: 132.5 kB / 3.137 GB, free: 85.99 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/7.799, allocations: 179.1 kB / 3.138 GB, free: 85.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/7.8, allocations: 147.8 kB / 3.138 GB, free: 85.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/7.8, allocations: 0 / 3.138 GB, free: 85.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004397/7.804, allocations: 0.6981 MB / 3.138 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/7.804, allocations: 4 kB / 3.138 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/7.804, allocations: 0 / 3.138 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/7.805, allocations: 177.6 kB / 3.139 GB, free: 84.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/7.805, allocations: 67.88 kB / 3.139 GB, free: 84.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/7.812, allocations: 3.296 MB / 3.142 GB, free: 81.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000826/7.813, allocations: 83.47 kB / 3.142 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/7.813, allocations: 27.95 kB / 3.142 GB, free: 81.02 MB / 0.8698 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.0001381/7.813, allocations: 120.9 kB / 3.142 GB, free: 80.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/7.813, allocations: 27.62 kB / 3.142 GB, free: 80.87 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/7.817, allocations: 0.7529 MB / 3.143 GB, free: 80.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/7.817, allocations: 4 kB / 3.143 GB, free: 80.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/7.817, allocations: 0 / 3.143 GB, free: 80.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/7.817, allocations: 0 / 3.143 GB, free: 80.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/7.818, allocations: 432.8 kB / 3.143 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/7.818, allocations: 0 / 3.143 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/7.818, allocations: 55.95 kB / 3.143 GB, free: 79.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/7.819, allocations: 169.5 kB / 3.143 GB, free: 79.41 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/7.819, allocations: 15.91 kB / 3.143 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00618/7.825, allocations: 3.303 MB / 3.147 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/7.825, allocations: 0 / 3.147 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/7.829, allocations: 0.7661 MB / 3.147 GB, free: 75.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/7.83, allocations: 112.6 kB / 3.148 GB, free: 74.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/7.83, allocations: 7.938 kB / 3.148 GB, free: 74.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/7.83, allocations: 51.94 kB / 3.148 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/7.83, allocations: 15.98 kB / 3.148 GB, free: 74.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/7.83, allocations: 19.97 kB / 3.148 GB, free: 74.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000218/7.831, allocations: 222.2 kB / 3.148 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.831, allocations: 0 / 3.148 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007973/7.832, allocations: 152 kB / 3.148 GB, free: 74.44 MB / 0.8698 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.005404/7.837, allocations: 1.801 MB / 3.15 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00117/7.838, allocations: 0.5791 MB / 3.15 GB, free: 72.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/7.838, allocations: 0 / 3.15 GB, free: 72.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006527/7.839, allocations: 441.5 kB / 3.151 GB, free: 71.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/7.839, allocations: 96.11 kB / 3.151 GB, free: 71.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/7.841, allocations: 0.5384 MB / 3.151 GB, free: 70.89 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/7.841, allocations: 0.7764 MB / 3.152 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004749/7.842, allocations: 82.86 kB / 3.152 GB, free: 70.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/7.842, allocations: 99.33 kB / 3.152 GB, free: 69.91 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/7.842, allocations: 0 / 3.152 GB, free: 69.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04355/7.886, allocations: 27.13 MB / 3.179 GB, free: 42.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/7.886, allocations: 179.4 kB / 3.179 GB, free: 42.69 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/10.79, allocations: 0 / 3.179 GB, free: 42.69 MB / 0.8698 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)