Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 199.1 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.493/1.493, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 66.78 kB / 0.671 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003031/0.1724, allocations: 2.164 MB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1738, allocations: 1.089 MB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.174, allocations: 3.938 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1743, allocations: 83.7 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1745, allocations: 71.69 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1748, allocations: 151.8 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.175, allocations: 303.8 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.1753, allocations: 119.6 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1754, allocations: 123.4 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1755, allocations: 135.3 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.1756, allocations: 16 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1757, allocations: 47.98 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.1758, allocations: 83.66 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1759, allocations: 123.2 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1763, allocations: 454.7 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1763, allocations: 4 kB / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1763, allocations: 0 / 0.7877 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1763, allocations: 0 / 0.7877 GB, free: 8.895 MB / 0.6075 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.0008458/0.1772, allocations: 0.6189 MB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1772, allocations: 12.03 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.1772, allocations: 54.72 kB / 0.7883 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.1773, allocations: 44.34 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1777, allocations: 352.1 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1778, allocations: 20.12 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1778, allocations: 24 kB / 0.7888 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1781, allocations: 178 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1781, allocations: 0 / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1781, allocations: 12 kB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1782, allocations: 4 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.1784, allocations: 131.7 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.1793, allocations: 0.6677 MB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.1797, allocations: 194.9 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.1798, allocations: 72.83 kB / 0.79 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1799, allocations: 4 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1801, allocations: 131.3 kB / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.1801, allocations: 0 / 0.7901 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0004853/0.1806, allocations: 243.8 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1806, allocations: 55.34 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.181, allocations: 376.4 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.181, allocations: 33.69 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1811, allocations: 180.4 kB / 0.7909 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1812, allocations: 47.36 kB / 0.791 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.1813, allocations: 61.69 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1814, allocations: 346.8 kB / 0.7914 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1816, allocations: 91.97 kB / 0.7915 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1818, allocations: 148.2 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.182, allocations: 150.7 kB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.182, allocations: 3.984 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004138/0.1824, allocations: 277.1 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1825, allocations: 4 kB / 0.792 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1825, allocations: 0 / 0.792 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1825, allocations: 4 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1826, allocations: 39.92 kB / 0.7921 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1827, allocations: 3.938 kB / 0.7921 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1828, allocations: 39.84 kB / 0.7921 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1828, allocations: 4 kB / 0.7921 GB, free: 4.082 MB / 0.6075 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 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.183, allocations: 175.5 kB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.183, allocations: 31.62 kB / 0.7923 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.1831, allocations: 30.36 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1831, allocations: 4 kB / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1831, allocations: 11.94 kB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1832, allocations: 0 / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.1834, allocations: 329.4 kB / 0.7927 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.1834, allocations: 7.922 kB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.1835, allocations: 16 kB / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1835, allocations: 4 kB / 0.7927 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1835, allocations: 0 / 0.7927 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1835, allocations: 3.984 kB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1835, allocations: 3.938 kB / 0.7927 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.1839, allocations: 227 kB / 0.7929 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1839, allocations: 100.8 kB / 0.793 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.184, allocations: 8 kB / 0.793 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1841, allocations: 15.98 kB / 0.793 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.1842, allocations: 35.88 kB / 0.7931 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1842, allocations: 4 kB / 0.7931 GB, free: 3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002187/0.1844, allocations: 239 kB / 0.7933 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1844, allocations: 4 kB / 0.7933 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002613/0.1847, allocations: 67.84 kB / 0.7934 GB, free: 2.695 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/0.1861, allocations: 1.081 MB / 0.7944 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1864, allocations: 195.9 kB / 0.7946 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1864, allocations: 0 / 0.7946 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1866, allocations: 83.91 kB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.1869, allocations: 56.06 kB / 0.7948 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.1899, allocations: 2.81 MB / 0.7975 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1902, allocations: 0.7752 MB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.1903, allocations: 42.27 kB / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.1905, allocations: 102.5 kB / 0.7984 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.1905, allocations: 4 kB / 0.7984 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.356/0.5465, allocations: 5.924 MB / 0.8042 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.5467, allocations: 276.7 kB / 0.8044 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.188, allocations: 3.938 kB / 0.8044 GB, free: 7.465 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)