Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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 1.403/1.403, allocations: 287.4 MB / 302.5 MB, free: 8.332 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.0008817/0.0008817, allocations: 181.1 kB / 371.1 MB, free: 10.81 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.094/1.094, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006608/0.0006608, allocations: 99.91 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 14.44 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 115.3 MB / 0.9788 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.001601/0.1391, allocations: 1.749 MB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1403, allocations: 1.024 MB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1404, allocations: 4 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1407, allocations: 83.64 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1409, allocations: 59.73 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1411, allocations: 138 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1414, allocations: 275.9 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.1415, allocations: 123.5 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1417, allocations: 99.48 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1418, allocations: 107.5 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.1418, allocations: 8 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1419, allocations: 47.91 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.142, allocations: 67.69 kB / 0.9825 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.142, allocations: 65.58 kB / 0.9825 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1422, allocations: 371.3 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1423, allocations: 0 / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1423, allocations: 7.938 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1423, allocations: 0 / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006532/0.1429, allocations: 0.5722 MB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.143, allocations: 8.031 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.143, allocations: 54.73 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.1431, allocations: 36.56 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.1434, allocations: 352.1 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1434, allocations: 27.89 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1435, allocations: 16 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1437, allocations: 173.6 kB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1438, allocations: 0 / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1438, allocations: 12 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1438, allocations: 7.984 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.144, allocations: 136.3 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.1448, allocations: 0.6794 MB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.1451, allocations: 190.9 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1452, allocations: 68.84 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1453, allocations: 7.984 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.1454, allocations: 127.3 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.1454, allocations: 0 / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0003779/0.1458, allocations: 246.3 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.1459, allocations: 55.34 kB / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.1461, allocations: 376.4 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1462, allocations: 33.7 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1462, allocations: 176.3 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1463, allocations: 47.39 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.1463, allocations: 8 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.1463, allocations: 346.8 kB / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1465, allocations: 83.97 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1466, allocations: 140.2 kB / 0.9867 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.1469, allocations: 158.1 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1469, allocations: 4 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003278/0.1472, allocations: 265.3 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1472, allocations: 10.66 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1472, allocations: 0 / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1472, allocations: 0 / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1474, allocations: 35.92 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1474, allocations: 7.938 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.1475, allocations: 47.89 kB / 0.9872 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1476, allocations: 11.98 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001097/0.1477, allocations: 171.5 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1477, allocations: 23.72 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.1478, allocations: 38.36 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1478, allocations: 4 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1478, allocations: 7.938 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1478, allocations: 0 / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.148, allocations: 333.3 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.148, allocations: 3.984 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.1481, allocations: 15.94 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1481, allocations: 4 kB / 0.9878 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1481, allocations: 11.98 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1481, allocations: 0 / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1481, allocations: 3.938 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1484, allocations: 216.6 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1484, allocations: 100.8 kB / 0.9881 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1485, allocations: 8 kB / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1486, allocations: 19.97 kB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.1486, allocations: 39.89 kB / 0.9882 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1487, allocations: 7.984 kB / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001586/0.1488, allocations: 239 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.11e-07/0.1488, allocations: 3.938 kB / 0.9884 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002207/0.1491, allocations: 67.78 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009887/0.1501, allocations: 1.078 MB / 0.9896 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1503, allocations: 191.9 kB / 0.9897 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1504, allocations: 3.938 kB / 0.9897 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1505, allocations: 86.47 kB / 0.9898 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1508, allocations: 56.03 kB / 0.9899 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.1526, allocations: 1.771 MB / 0.9916 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.1528, allocations: 0.7791 MB / 0.9924 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.1529, allocations: 42.27 kB / 0.9924 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.153, allocations: 99.39 kB / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.153, allocations: 0 / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4047/0.5577, allocations: 6.203 MB / 0.9986 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001195/0.5579, allocations: 265.5 kB / 0.9988 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.624, allocations: 4 kB / 0.9988 GB, free: 7.297 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)