Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001536, 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.00278/0.002781, allocations: 193 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.166/3.166, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.72 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002348/0.3918, allocations: 0.9447 MB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3934, allocations: 1.17 MB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.3935, allocations: 3.938 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.3935, allocations: 7.938 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.3936, allocations: 15.86 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.3941, allocations: 123.3 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3943, allocations: 143.7 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3944, allocations: 49.55 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.3945, allocations: 47.84 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.3946, allocations: 63.67 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.3947, allocations: 12 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.3947, allocations: 19.98 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.3948, allocations: 15.92 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.3949, allocations: 55.72 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3951, allocations: 167.7 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3951, allocations: 4 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3951, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3951, allocations: 0 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007594/0.3959, allocations: 440.8 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3959, allocations: 8.031 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.396, allocations: 12.84 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.3965, allocations: 243.8 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3966, allocations: 4.375 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3966, allocations: 12.38 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3969, allocations: 93.95 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3969, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3969, allocations: 8 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3969, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.3971, allocations: 66.19 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.3977, allocations: 400.3 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3979, allocations: 70.48 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3981, allocations: 36.95 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3981, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.3984, allocations: 79.38 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.3984, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000463/0.3989, allocations: 141.4 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3989, allocations: 59.39 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3991, allocations: 129.8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3991, allocations: 25.7 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.3992, allocations: 111.9 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3992, allocations: 23.7 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.3993, allocations: 37.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3994, allocations: 326.8 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3996, allocations: 47.97 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.3998, allocations: 75.39 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.4, allocations: 129 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4, allocations: 7.938 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004044/0.4004, allocations: 187.1 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.4005, allocations: 47.81 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4005, allocations: 3.938 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4005, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4007, allocations: 15.98 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4007, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4009, allocations: 35.81 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.4009, allocations: 12.38 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 9.61e-05/0.401, allocations: 125.8 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.401, allocations: 7.906 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.4011, allocations: 16.31 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4011, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4011, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4011, allocations: 3.984 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.4012, allocations: 193.6 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4013, allocations: 3.984 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.762e-05/0.4013, allocations: 15.98 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4013, allocations: 4 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4014, allocations: 7.938 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4014, allocations: 8.078 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4014, allocations: 7.922 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4016, allocations: 124.9 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.4017, allocations: 85.02 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.4017, allocations: 7.922 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.4018, allocations: 8 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.4018, allocations: 11.98 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.4019, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.4019, allocations: 97.8 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4019, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002269/0.4021, allocations: 31.94 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001664/0.4023, allocations: 107.2 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.4027, allocations: 171.3 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4027, allocations: 0 / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.4029, allocations: 43.91 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.4031, allocations: 23.52 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006333/0.4038, allocations: 228.8 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.4042, allocations: 0.7005 MB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.343e-05/0.4043, allocations: 8.422 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.4043, allocations: 11.44 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4043, allocations: 4 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of Templates: time 0.0053/0.4096, allocations: 1.414 MB / 1.076 GB, free: 1.324 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1)