Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.482/1.482, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001202/0.001202, allocations: 183.2 kB / 326.5 MB, free: 2.273 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.079/2.079, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009261/0.0009262, allocations: 92.47 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002957/0.2457, allocations: 2.73 MB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.2475, allocations: 1.057 MB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.2479, allocations: 15.94 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.248, allocations: 47.44 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000405/0.2484, allocations: 103.6 kB / 0.904 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.2487, allocations: 159.7 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.2491, allocations: 397.3 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.2495, allocations: 234.3 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.2497, allocations: 143.2 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.2498, allocations: 166.9 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.2499, allocations: 16 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.229e-05/0.2499, allocations: 15.94 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.25, allocations: 79.55 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.25, allocations: 117.4 kB / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.2505, allocations: 0.6626 MB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2505, allocations: 0 / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2505, allocations: 0 / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.2505, allocations: 0 / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001406/0.2519, allocations: 0.8064 MB / 0.9067 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.252, allocations: 8.031 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.2521, allocations: 82.53 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.2522, allocations: 75.09 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.2528, allocations: 441.8 kB / 0.9073 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.2529, allocations: 37 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.253, allocations: 51.98 kB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008383/0.2538, allocations: 0.5062 MB / 0.9079 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.2538, allocations: 4 kB / 0.9079 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.2539, allocations: 16 kB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.2539, allocations: 12 kB / 0.9079 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.2547, allocations: 419.7 kB / 0.9083 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.257, allocations: 2.049 MB / 0.9103 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.2578, allocations: 379.8 kB / 0.9107 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.2579, allocations: 4.234 kB / 0.9107 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.2579, allocations: 42.78 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.156e-06/0.2579, allocations: 4 kB / 0.9107 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001066/0.259, allocations: 486 kB / 0.9112 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.2591, allocations: 106.8 kB / 0.9113 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.2596, allocations: 0.4942 MB / 0.9118 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2597, allocations: 29.7 kB / 0.9118 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.2599, allocations: 287.8 kB / 0.9121 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.26, allocations: 98.66 kB / 0.9122 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.26, allocations: 4 kB / 0.9122 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2601, allocations: 366.8 kB / 0.9125 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.2604, allocations: 140.6 kB / 0.9126 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.2608, allocations: 221.6 kB / 0.9129 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.2611, allocations: 179.6 kB / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2611, allocations: 4 kB / 0.913 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007499/0.2619, allocations: 444.6 kB / 0.9135 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.262, allocations: 449 kB / 0.9139 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.262, allocations: 48 / 0.9139 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.2621, allocations: 7.984 kB / 0.9139 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2624, allocations: 87.88 kB / 0.914 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2624, allocations: 0 / 0.914 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.2627, allocations: 71.56 kB / 0.914 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2628, allocations: 12 kB / 0.9141 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2628, allocations: 6.344 kB / 0.9141 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005688/0.2634, allocations: 307.6 kB / 0.9144 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.2634, allocations: 0 / 0.9144 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.2634, allocations: 4 kB / 0.9144 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.2636, allocations: 72.03 kB / 0.9144 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.2637, allocations: 0 / 0.9144 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.2639, allocations: 67.45 kB / 0.9145 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2639, allocations: 8 kB / 0.9145 GB, free: 48.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000278/0.2642, allocations: 265.1 kB / 0.9148 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.2643, allocations: 47.44 kB / 0.9148 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000799/0.2651, allocations: 390.3 kB / 0.9152 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2651, allocations: 0 / 0.9152 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2651, allocations: 4 kB / 0.9152 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2651, allocations: 7.938 kB / 0.9152 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.2657, allocations: 0.505 MB / 0.9157 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2657, allocations: 0 / 0.9157 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.266, allocations: 71.89 kB / 0.9157 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.266, allocations: 4 kB / 0.9157 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.266, allocations: 7.984 kB / 0.9158 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.266, allocations: 0 / 0.9158 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.266, allocations: 4 kB / 0.9158 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2671, allocations: 0.6365 MB / 0.9164 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2672, allocations: 136.4 kB / 0.9165 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.224e-05/0.2673, allocations: 11.98 kB / 0.9165 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.2675, allocations: 40.03 kB / 0.9166 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.2676, allocations: 11.98 kB / 0.9166 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2676, allocations: 15.98 kB / 0.9166 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003677/0.268, allocations: 350.9 kB / 0.9169 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.268, allocations: 3.938 kB / 0.9169 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004782/0.2685, allocations: 151.4 kB / 0.9171 GB, free: 46.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * 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 (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.2697, allocations: 1.18 MB / 0.9182 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009712/0.2707, allocations: 0.4969 MB / 0.9187 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2707, allocations: 0 / 0.9187 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.2711, allocations: 160.2 kB / 0.9189 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.2717, allocations: 104.4 kB / 0.919 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.2763, allocations: 3.42 MB / 0.9223 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.2766, allocations: 0.8509 MB / 0.9231 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.2769, allocations: 67.41 kB / 0.9232 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.2771, allocations: 183.4 kB / 0.9234 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/0.2771, allocations: 0 / 0.9234 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.2983, allocations: 9.049 MB / 0.9322 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.2985, allocations: 200.3 kB / 0.9324 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/2.792, allocations: 3.938 kB / 0.9324 GB, free: 30.38 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)