Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,fileNamePrefix="Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SystemHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,fileNamePrefix="Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SystemHysteresis",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.006662/0.006662, allocations: 95.58 kB / 15.73 MB, free: 6.047 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.001637/0.001637, allocations: 205.6 kB / 16.68 MB, free: 5.973 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 59.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3536, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis): time 0.005378/0.359, allocations: 3.432 MB / 1.17 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003853/0.3629, allocations: 1.887 MB / 1.171 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007633/0.3637, allocations: 19.88 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.3644, allocations: 134.4 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007355/0.3651, allocations: 150.6 kB / 1.172 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.3679, allocations: 1.006 MB / 1.173 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002738/0.3706, allocations: 2.049 MB / 1.175 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.3725, allocations: 1.2 MB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3737, allocations: 0.6701 MB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.3748, allocations: 0.6653 MB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005536/0.3753, allocations: 236 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.376, allocations: 256 kB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.3765, allocations: 403 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.3775, allocations: 0.7549 MB / 1.179 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.3798, allocations: 2.429 MB / 1.181 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3798, allocations: 4 kB / 1.181 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3798, allocations: 0 / 1.181 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.3799, allocations: 0 / 1.181 GB, free: 7.98 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00257/0.3824, allocations: 1.587 MB / 1.183 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3825, allocations: 16.02 kB / 1.183 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.3827, allocations: 173.2 kB / 1.183 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.3829, allocations: 152.1 kB / 1.183 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.3842, allocations: 0.7698 MB / 1.184 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.3843, allocations: 118.6 kB / 1.184 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.3845, allocations: 160.3 kB / 1.184 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3866, allocations: 1.396 MB / 1.185 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3867, allocations: 7.938 kB / 1.185 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3868, allocations: 51.97 kB / 1.185 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.3868, allocations: 32 kB / 1.185 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.3884, allocations: 0.9406 MB / 1.186 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005592/0.394, allocations: 5.48 MB / 1.192 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.3956, allocations: 1.055 MB / 1.193 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.3963, allocations: 487 kB / 1.193 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.404e-05/0.3964, allocations: 29.83 kB / 1.193 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.3975, allocations: 0.7718 MB / 1.194 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=117): time 2.826e-06/0.3975, allocations: 0 / 1.194 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=117): time 0.002563/0.4001, allocations: 1.489 MB / 1.195 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.4002, allocations: 294.1 kB / 1.196 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.4009, allocations: 0.5286 MB / 1.196 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.401, allocations: 105.7 kB / 1.196 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.4014, allocations: 450 kB / 1.197 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.4017, allocations: 293.8 kB / 1.197 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/0.4022, allocations: 371.5 kB / 1.197 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4023, allocations: 334 kB / 1.198 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008546/0.4032, allocations: 463.8 kB / 1.198 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.4043, allocations: 0.9167 MB / 1.199 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.406, allocations: 1.259 MB / 1.2 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.406, allocations: 7.938 kB / 1.2 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.002519/0.4085, allocations: 1.557 MB / 1.202 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/0.4086, allocations: 109.1 kB / 1.202 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.4087, allocations: 16 kB / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-05/0.4087, allocations: 24 kB / 1.202 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.4093, allocations: 167.5 kB / 1.202 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.318e-05/0.4093, allocations: 39.8 kB / 1.202 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009316/0.4103, allocations: 211 kB / 1.202 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4104, allocations: 83.98 kB / 1.202 GB, free: 1.02 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 154 ($PRE.sysHys.truFalHol1.onDel1.u,$PRE.sysHys.truFalHol1.onDel2.u,$PRE.sysHys.truFalHol1.toTrue.enableFire,$PRE.sysHys.truFalHol1.toFalse.enableFire,$PRE.sysHys.truFalHol1.toTrue1.enableFire,$PRE.sysHys.truFalHol1.toFalse1.enableFire,$PRE.sysHys.truDel.u,$PRE.sysHys1.truFalHol1.onDel1.u,$PRE.sysHys1.truFalHol1.onDel2.u,$PRE.sysHys1.truFalHol1.toTrue.enableFire,$PRE.sysHys1.truFalHol1.toFalse.enableFire,$PRE.sysHys1.truFalHol1.toTrue1.enableFire,$PRE.sysHys1.truFalHol1.toFalse1.enableFire,$PRE.sysHys1.truDel.u,$whenCondition23,$whenCondition24,$whenCondition21,$whenCondition22,$whenCondition19,$whenCondition20,$PRE.sysHys1.truDel.t_next,$whenCondition16,$PRE.sysHys1.truFalHol1.onDel2.t_next,$whenCondition13,$PRE.sysHys1.truFalHol1.onDel1.t_next,$whenCondition10,$PRE.sysHys.truDel.t_next,$whenCondition7,$PRE.sysHys.truFalHol1.onDel2.t_next,$whenCondition4,$PRE.sysHys.truFalHol1.onDel1.t_next,$whenCondition1,sysHys1.truDel.t_next,sysHys1.truFalHol1.onDel2.t_next,sysHys1.truFalHol1.onDel1.t_next,sysHys.truDel.t_next,sysHys.truFalHol1.onDel2.t_next,booPul.y,$PRE.booPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,sysHys1.truDel.y,sysHys1.truDel.u,sysHys1.truFalHol1.toFalse1.enableFire,sysHys1.truFalHol1.toTrue1.enableFire,sysHys1.truFalHol1.initialStep.oldActive,$PRE.sysHys1.truFalHol1.initialStep.oldActive,sysHys1.truFalHol1.initialStep.newActive,$PRE.sysHys1.truFalHol1.initialStep.newActive,sysHys1.truFalHol1.initialStep.outPort[2].available,sysHys1.truFalHol1.initialStep.localActive,$PRE.sysHys1.truFalHol1.initialStep.localActive,sysHys1.truFalHol1.initialStep.active,sysHys1.truFalHol1.toFalse.enableFire,sysHys1.truFalHol1.toFalse.localCondition,sysHys1.truFalHol1.outputTrue.active,sysHys1.truFalHol1.outputTrue.oldActive,$PRE.sysHys1.truFalHol1.outputTrue.oldActive,sysHys1.truFalHol1.outputTrue.newActive,$PRE.sysHys1.truFalHol1.outputTrue.newActive,sysHys1.truFalHol1.outputTrue.inPort[2].occupied,sysHys1.truFalHol1.outputTrue.localActive,$PRE.sysHys1.truFalHol1.outputTrue.localActive,sysHys1.truFalHol1.toTrue.enableFire,sysHys1.truFalHol1.toTrue.localCondition,sysHys1.truFalHol1.outputFalse.active,sysHys1.truFalHol1.outputFalse.oldActive,$PRE.sysHys1.truFalHol1.outputFalse.oldActive,sysHys1.truFalHol1.outputFalse.newActive,$PRE.sysHys1.truFalHol1.outputFalse.newActive,sysHys1.truFalHol1.outputFalse.inPort[2].occupied,sysHys1.truFalHol1.outputFalse.localActive,$PRE.sysHys1.truFalHol1.outputFalse.localActive,sysHys1.truFalHol1.stateGraphRoot.activeSteps,sysHys1.truFalHol1.onDel2.y,sysHys1.truFalHol1.onDel2.u,sysHys1.truFalHol1.onDel1.y,sysHys1.truFalHol1.onDel1.u,sysHys1.greThr.greHys.y,$PRE.sysHys1.greThr.greHys.y,sysHys.truDel.y,sysHys.truDel.u,sysHys.truFalHol1.toFalse1.enableFire,sysHys.truFalHol1.toTrue1.enableFire,sysHys.truFalHol1.initialStep.oldActive,$PRE.sysHys.truFalHol1.initialStep.oldActive,sysHys.truFalHol1.initialStep.newActive,$PRE.sysHys.truFalHol1.initialStep.newActive,sysHys.truFalHol1.initialStep.outPort[2].available,sysHys.truFalHol1.initialStep.localActive,$PRE.sysHys.truFalHol1.initialStep.localActive,sysHys.truFalHol1.initialStep.active,sysHys.truFalHol1.toFalse.enableFire,sysHys.truFalHol1.toFalse.localCondition,sysHys.truFalHol1.outputTrue.active,sysHys.truFalHol1.outputTrue.oldActive,$PRE.sysHys.truFalHol1.outputTrue.oldActive,sysHys.truFalHol1.outputTrue.newActive,$PRE.sysHys.truFalHol1.outputTrue.newActive,sysHys.truFalHol1.outputTrue.inPort[2].occupied,sysHys.truFalHol1.outputTrue.localActive,$PRE.sysHys.truFalHol1.outputTrue.localActive,sysHys.truFalHol1.toTrue.enableFire,sysHys.truFalHol1.toTrue.localCondition,sysHys.truFalHol1.outputFalse.active,sysHys.truFalHol1.outputFalse.oldActive,$PRE.sysHys.truFalHol1.outputFalse.oldActive,sysHys.truFalHol1.outputFalse.newActive,$PRE.sysHys.truFalHol1.outputFalse.newActive,sysHys.truFalHol1.outputFalse.inPort[2].occupied,sysHys.truFalHol1.outputFalse.localActive,$PRE.sysHys.truFalHol1.outputFalse.localActive,sysHys.truFalHol1.stateGraphRoot.activeSteps,sysHys.truFalHol1.onDel2.y,sysHys.truFalHol1.onDel2.u,sysHys.truFalHol1.onDel1.y,sysHys.truFalHol1.onDel1.u,sysHys.greThr.greHys.y,$PRE.sysHys.greThr.greHys.y,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,$whenCondition9,$whenCondition8,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition14,$whenCondition18,$whenCondition17,sysHys.truFalHol1.onDel1.t_next,sysHys.truFalHol1.toTrue.t_start,$PRE.sysHys.truFalHol1.toTrue.t_start,sysHys.truFalHol1.toFalse.t_start,$PRE.sysHys.truFalHol1.toFalse.t_start,sysHys.truFalHol1.toTrue1.t_start,$PRE.sysHys.truFalHol1.toTrue1.t_start,sysHys.truFalHol1.toFalse1.t_start,$PRE.sysHys.truFalHol1.toFalse1.t_start,sysHys1.truFalHol1.toTrue.t_start,$PRE.sysHys1.truFalHol1.toTrue.t_start,sysHys1.truFalHol1.toFalse.t_start,$PRE.sysHys1.truFalHol1.toFalse.t_start,sysHys1.truFalHol1.toTrue1.t_start,$PRE.sysHys1.truFalHol1.toTrue1.t_start,sysHys1.truFalHol1.toFalse1.t_start,$PRE.sysHys1.truFalHol1.toFalse1.t_start,sysHys1.truFalHol1.stateGraphRoot.resume,sysHys1.truFalHol1.stateGraphRoot.suspend,sysHys.truFalHol1.stateGraphRoot.resume,sysHys.truFalHol1.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 3 * 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.0006834/0.4111, allocations: 469.4 kB / 1.203 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.4112, allocations: 87.47 kB / 1.203 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.4131, allocations: 1.161 MB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4132, allocations: 12 kB / 1.204 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4132, allocations: 4 kB / 1.204 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.4132, allocations: 7.969 kB / 1.204 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.4169, allocations: 2.684 MB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4169, allocations: 3.984 kB / 1.207 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.4172, allocations: 63.78 kB / 1.207 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.4172, allocations: 11.94 kB / 1.207 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.142e-05/0.4173, allocations: 39.95 kB / 1.207 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.4173, allocations: 8 kB / 1.207 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4173, allocations: 0 / 1.207 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.4191, allocations: 1.301 MB / 1.208 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.4192, allocations: 160.4 kB / 1.208 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.4194, allocations: 43.97 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.4197, allocations: 51.95 kB / 1.208 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.4199, allocations: 136.8 kB / 1.208 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.662e-05/0.42, allocations: 67.95 kB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003136/0.4204, allocations: 295.1 kB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.613e-06/0.4204, allocations: 0 / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009429/0.4213, allocations: 323.2 kB / 1.209 GB, free: 9.945 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 109 (sysHys1.truFalHol1.toFalse1.t_start,sysHys1.truFalHol1.toTrue1.t_start,sysHys1.truFalHol1.toFalse.t_start,sysHys1.truFalHol1.toTrue.t_start,sysHys.truFalHol1.toFalse1.t_start,sysHys.truFalHol1.toTrue1.t_start,sysHys.truFalHol1.toFalse.t_start,sysHys.truFalHol1.toTrue.t_start,sysHys.truDel.u,sysHys1.truDel.u,sysHys1.truFalHol1.initialStep.active,sysHys1.truFalHol1.outputTrue.localActive,sysHys1.truFalHol1.onDel2.u,sysHys1.truFalHol1.outputTrue.active,sysHys1.truFalHol1.outputFalse.localActive,sysHys1.truFalHol1.onDel1.u,sysHys1.truFalHol1.outputFalse.active,sysHys.truFalHol1.initialStep.active,sysHys.truFalHol1.outputTrue.localActive,sysHys.truFalHol1.onDel2.u,sysHys.truFalHol1.outputTrue.active,sysHys.truFalHol1.outputFalse.localActive,sysHys.truFalHol1.onDel1.u,sysHys.truFalHol1.outputFalse.active,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition23,$whenCondition24,$whenCondition21,$whenCondition22,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,sysHys.greThr.greHys.y,sysHys.truFalHol1.onDel1.y,sysHys.truFalHol1.onDel1.t_next,sysHys.truFalHol1.onDel2.y,sysHys.truFalHol1.onDel2.t_next,sysHys.truFalHol1.stateGraphRoot.activeSteps,sysHys.truFalHol1.outputFalse.inPort[2].occupied,sysHys.truFalHol1.outputFalse.newActive,sysHys.truFalHol1.outputFalse.oldActive,sysHys.truFalHol1.toTrue.localCondition,sysHys.truFalHol1.toTrue.enableFire,sysHys.truFalHol1.outputTrue.inPort[2].occupied,sysHys.truFalHol1.outputTrue.newActive,sysHys.truFalHol1.outputTrue.oldActive,sysHys.truFalHol1.toFalse.localCondition,sysHys.truFalHol1.toFalse.enableFire,sysHys.truFalHol1.initialStep.localActive,sysHys.truFalHol1.initialStep.outPort[2].available,sysHys.truFalHol1.initialStep.newActive,sysHys.truFalHol1.initialStep.oldActive,sysHys.truFalHol1.toTrue1.enableFire,sysHys.truFalHol1.toFalse1.enableFire,sysHys.truDel.y,sysHys.truDel.t_next,sysHys1.greThr.greHys.y,sysHys1.truFalHol1.onDel1.y,sysHys1.truFalHol1.onDel1.t_next,sysHys1.truFalHol1.onDel2.y,sysHys1.truFalHol1.onDel2.t_next,sysHys1.truFalHol1.stateGraphRoot.activeSteps,sysHys1.truFalHol1.outputFalse.inPort[2].occupied,sysHys1.truFalHol1.outputFalse.newActive,sysHys1.truFalHol1.outputFalse.oldActive,sysHys1.truFalHol1.toTrue.localCondition,sysHys1.truFalHol1.toTrue.enableFire,sysHys1.truFalHol1.outputTrue.inPort[2].occupied,sysHys1.truFalHol1.outputTrue.newActive,sysHys1.truFalHol1.outputTrue.oldActive,sysHys1.truFalHol1.toFalse.localCondition,sysHys1.truFalHol1.toFalse.enableFire,sysHys1.truFalHol1.initialStep.localActive,sysHys1.truFalHol1.initialStep.outPort[2].available,sysHys1.truFalHol1.initialStep.newActive,sysHys1.truFalHol1.initialStep.oldActive,sysHys1.truFalHol1.toTrue1.enableFire,sysHys1.truFalHol1.toFalse1.enableFire,sysHys1.truDel.y,sysHys1.truDel.t_next,pul.booPul.y,pul1.booPul.y,booPul.y) * Number of discrete states: 22 (sysHys1.truDel.t_next,sysHys1.truFalHol1.onDel2.t_next,sysHys1.truFalHol1.onDel1.t_next,sysHys.truDel.t_next,sysHys.truFalHol1.onDel2.t_next,sysHys.truFalHol1.onDel1.t_next,sysHys.truFalHol1.outputFalse.newActive,sysHys.truFalHol1.outputTrue.newActive,sysHys.truFalHol1.initialStep.newActive,sysHys1.truFalHol1.outputFalse.newActive,sysHys1.truFalHol1.outputTrue.newActive,sysHys1.truFalHol1.initialStep.newActive,sysHys1.greThr.greHys.y,sysHys.greThr.greHys.y,sysHys.truFalHol1.toTrue.t_start,sysHys.truFalHol1.toFalse.t_start,sysHys.truFalHol1.toTrue1.t_start,sysHys.truFalHol1.toFalse1.t_start,sysHys1.truFalHol1.toTrue.t_start,sysHys1.truFalHol1.toFalse.t_start,sysHys1.truFalHol1.toTrue1.t_start,sysHys1.truFalHol1.toFalse1.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 29 * 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.002251/0.4236, allocations: 1.961 MB / 1.211 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.4257, allocations: 1.397 MB / 1.212 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4258, allocations: 0 / 1.212 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.4266, allocations: 0.6124 MB / 1.213 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.4274, allocations: 162.2 kB / 1.213 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.4395, allocations: 8.287 MB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/0.4403, allocations: 1.035 MB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005296/0.4409, allocations: 147.9 kB / 1.222 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006354/0.4415, allocations: 395.2 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of SimCode: time 8.91e-07/0.4415, allocations: 0 / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/0.488, allocations: 19.57 MB / 1.242 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.742/9.23, allocations: 11.59 kB / 1.242 GB, free: 7.941 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis_res.csv --start-time 0 --stop-time 21600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SystemHysteresis.fmu > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe 2>&1)