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.001297/0.001297, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 188 kB / 16.62 MB, free: 6.582 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.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.694/1.694, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001428/0.001428, allocations: 72.03 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2287, allocations: 114.5 MB / 0.7837 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.004153/0.233, allocations: 2.118 MB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.2349, allocations: 1.097 MB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.2351, allocations: 4 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.2355, allocations: 95.5 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.2359, allocations: 95.47 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.2362, allocations: 167.6 kB / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.2366, allocations: 331.8 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.2368, allocations: 115.6 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.237, allocations: 143.4 kB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.2371, allocations: 143.3 kB / 0.7879 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.2372, allocations: 32 kB / 0.7879 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.2373, allocations: 71.97 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.694e-05/0.2374, allocations: 91.73 kB / 0.7881 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2376, allocations: 147.1 kB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.2381, allocations: 470.6 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2381, allocations: 0 / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2381, allocations: 0 / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.2381, allocations: 4 kB / 0.7886 GB, free: 8.074 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.001046/0.2391, allocations: 0.6344 MB / 0.7893 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2392, allocations: 8.031 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.2393, allocations: 46.73 kB / 0.7893 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.2394, allocations: 40.47 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.2398, allocations: 348.1 kB / 0.7897 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2398, allocations: 20.12 kB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.2399, allocations: 23.94 kB / 0.7897 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.2402, allocations: 185.3 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2403, allocations: 4 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2403, allocations: 4 kB / 0.7899 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2403, allocations: 4 kB / 0.7899 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.2405, allocations: 132.6 kB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009976/0.2416, allocations: 0.6599 MB / 0.7907 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.242, allocations: 199.8 kB / 0.7909 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.2421, allocations: 64.84 kB / 0.7909 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.2422, allocations: 4 kB / 0.7909 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.2424, allocations: 134 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.2424, allocations: 0 / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0004941/0.2429, allocations: 249.1 kB / 0.7913 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.243, allocations: 59.34 kB / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.2433, allocations: 372.4 kB / 0.7917 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.2434, allocations: 33.7 kB / 0.7918 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.2435, allocations: 168.4 kB / 0.7919 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.2435, allocations: 55.34 kB / 0.792 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-05/0.2436, allocations: 69.69 kB / 0.792 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2438, allocations: 338.8 kB / 0.7924 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2439, allocations: 91.95 kB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.2441, allocations: 144.2 kB / 0.7926 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2444, allocations: 157.6 kB / 0.7927 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2444, allocations: 3.938 kB / 0.7927 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004107/0.2448, allocations: 277.2 kB / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2448, allocations: 8 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2448, allocations: 0 / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2449, allocations: 0 / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.245, allocations: 31.98 kB / 0.793 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.245, allocations: 7.938 kB / 0.793 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2452, allocations: 35.84 kB / 0.7931 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2452, allocations: 12 kB / 0.7931 GB, free: 3.262 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.0001601/0.2454, allocations: 176.1 kB / 0.7933 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.2454, allocations: 27.62 kB / 0.7933 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.2455, allocations: 34.36 kB / 0.7933 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2455, allocations: 4 kB / 0.7933 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2456, allocations: 11.94 kB / 0.7933 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.2456, allocations: 3.984 kB / 0.7933 GB, free: 3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.2459, allocations: 329.4 kB / 0.7937 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2459, allocations: 0 / 0.7937 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.246, allocations: 19.92 kB / 0.7937 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.246, allocations: 0 / 0.7937 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.246, allocations: 11.94 kB / 0.7937 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.246, allocations: 0 / 0.7937 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.246, allocations: 3.938 kB / 0.7937 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.2463, allocations: 219.6 kB / 0.7939 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.2464, allocations: 104.8 kB / 0.794 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.2465, allocations: 11.94 kB / 0.794 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2466, allocations: 11.98 kB / 0.794 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.2467, allocations: 39.89 kB / 0.7941 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2467, allocations: 4 kB / 0.7941 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002267/0.2469, allocations: 239 kB / 0.7943 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2469, allocations: 0 / 0.7943 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002769/0.2472, allocations: 67.84 kB / 0.7944 GB, free: 1.875 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.001411/0.2486, allocations: 1.078 MB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.249, allocations: 200.1 kB / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.249, allocations: 0 / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2492, allocations: 83.91 kB / 0.7957 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2495, allocations: 55 kB / 0.7957 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.2526, allocations: 2.72 MB / 0.7984 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2529, allocations: 0.7792 MB / 0.7991 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000121/0.253, allocations: 42.27 kB / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.2532, allocations: 107.4 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2532, allocations: 3.938 kB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.2757, allocations: 6.339 MB / 0.8055 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.185, allocations: 7.953 kB / 0.8055 GB, free: 6.68 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-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)