Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.616/2.616, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001545/0.001545, allocations: 167.6 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 101.5 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004919, allocations: 11.94 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2376, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9659/1.204, allocations: 141.7 MB / 1.117 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.204, allocations: 83.92 kB / 1.117 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03533/1.239, allocations: 8.911 MB / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.658e-06/1.239, allocations: 0 / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.061e-05/1.239, allocations: 15.5 kB / 1.125 GB, free: 30.73 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002106/1.242, allocations: 0.8754 MB / 1.126 GB, free: 30.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.242, allocations: 11.89 kB / 1.126 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/1.242, allocations: 94.81 kB / 1.126 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/1.242, allocations: 73.72 kB / 1.127 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/1.243, allocations: 450.2 kB / 1.127 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/1.243, allocations: 40.81 kB / 1.127 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/1.243, allocations: 48.56 kB / 1.127 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/1.244, allocations: 0.5682 MB / 1.128 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.244, allocations: 0 / 1.128 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.602e-05/1.245, allocations: 22.77 kB / 1.128 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/1.245, allocations: 17.72 kB / 1.128 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/1.246, allocations: 468.8 kB / 1.128 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/1.25, allocations: 1.778 MB / 1.13 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/1.252, allocations: 0.5863 MB / 1.13 GB, free: 28.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/1.252, allocations: 14.61 kB / 1.13 GB, free: 28.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008462/1.253, allocations: 289.1 kB / 1.131 GB, free: 28.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.036e-06/1.253, allocations: 3.938 kB / 1.131 GB, free: 28.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002093/1.255, allocations: 0.5841 MB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/1.256, allocations: 162 kB / 1.131 GB, free: 28.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/1.256, allocations: 481.4 kB / 1.132 GB, free: 28.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/1.256, allocations: 36.05 kB / 1.132 GB, free: 28.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/1.257, allocations: 287.7 kB / 1.132 GB, free: 28.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/1.257, allocations: 126.4 kB / 1.132 GB, free: 27.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/1.257, allocations: 3.5 kB / 1.132 GB, free: 27.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.257, allocations: 368.6 kB / 1.133 GB, free: 27.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/1.258, allocations: 166.4 kB / 1.133 GB, free: 27.58 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/1.258, allocations: 247.8 kB / 1.133 GB, free: 27.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/1.259, allocations: 181.2 kB / 1.133 GB, free: 27.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.259, allocations: 0 / 1.133 GB, free: 27.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001586/1.261, allocations: 494.1 kB / 1.134 GB, free: 27.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/1.261, allocations: 363.1 kB / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.261, allocations: 7.875 kB / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.261, allocations: 0 / 1.134 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/1.262, allocations: 91.88 kB / 1.134 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/1.262, allocations: 0 / 1.134 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/1.262, allocations: 89.08 kB / 1.134 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.262, allocations: 11.16 kB / 1.134 GB, free: 26.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/1.262, allocations: 3.844 kB / 1.134 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001063/1.263, allocations: 336.5 kB / 1.135 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.263, allocations: 0 / 1.135 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/1.263, allocations: 7.797 kB / 1.135 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/1.264, allocations: 80.44 kB / 1.135 GB, free: 26.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/1.264, allocations: 3.984 kB / 1.135 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/1.264, allocations: 67.62 kB / 1.135 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/1.265, allocations: 15.06 kB / 1.135 GB, free: 26.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.00048/1.265, allocations: 262.3 kB / 1.135 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.265, allocations: 57.88 kB / 1.135 GB, free: 26.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/1.267, allocations: 470.2 kB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.267, allocations: 3.938 kB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/1.267, allocations: 3.969 kB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.267, allocations: 3.984 kB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/1.269, allocations: 1.17 MB / 1.137 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.269, allocations: 7.922 kB / 1.137 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/1.27, allocations: 81.62 kB / 1.137 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/1.27, allocations: 3.938 kB / 1.137 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/1.27, allocations: 10.84 kB / 1.137 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/1.27, allocations: 0 / 1.137 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.27, allocations: 7.906 kB / 1.137 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/1.272, allocations: 0.7715 MB / 1.137 GB, free: 25.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/1.272, allocations: 142 kB / 1.138 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/1.272, allocations: 11.16 kB / 1.138 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/1.273, allocations: 49 kB / 1.138 GB, free: 25.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/1.273, allocations: 34.16 kB / 1.138 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/1.273, allocations: 15.28 kB / 1.138 GB, free: 25.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006444/1.274, allocations: 377.2 kB / 1.138 GB, free: 25.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.274, allocations: 0 / 1.138 GB, free: 25.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007536/1.274, allocations: 181.8 kB / 1.138 GB, free: 25.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002518/1.277, allocations: 1.407 MB / 1.14 GB, free: 24.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001893/1.279, allocations: 0.5677 MB / 1.14 GB, free: 24.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.279, allocations: 7.969 kB / 1.14 GB, free: 24.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006779/1.28, allocations: 203.4 kB / 1.14 GB, free: 24.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/1.28, allocations: 85.89 kB / 1.14 GB, free: 24.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/1.288, allocations: 3.686 MB / 1.144 GB, free: 22.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/1.288, allocations: 0.8733 MB / 1.145 GB, free: 21.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004304/1.289, allocations: 66.83 kB / 1.145 GB, free: 21.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.289, allocations: 212.3 kB / 1.145 GB, free: 21.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/1.289, allocations: 0 / 1.145 GB, free: 21.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/1.334, allocations: 10 MB / 1.155 GB, free: 16.89 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/1.334, allocations: 187.4 kB / 1.155 GB, free: 16.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/4.132, allocations: 0 / 1.155 GB, free: 16.65 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)