Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.001216/0.001216, 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.001238/0.001238, allocations: 195 kB / 16.14 MB, free: 6.656 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.091/2.091, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5592/0.5605, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003257/0.5638, allocations: 3.128 MB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.5652, allocations: 1.062 MB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.5654, allocations: 19.88 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.5656, allocations: 69.84 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.5658, allocations: 83.75 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.5663, allocations: 311.2 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.5668, allocations: 0.5809 MB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003005/0.5671, allocations: 251.3 kB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.5673, allocations: 178.5 kB / 0.9546 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.5674, allocations: 186.3 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.5675, allocations: 20.16 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.612e-05/0.5675, allocations: 20.12 kB / 0.9548 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.5676, allocations: 75.56 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.5677, allocations: 209.8 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.5681, allocations: 0.6354 MB / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5681, allocations: 1.562 kB / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5681, allocations: 0 / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5681, allocations: 0 / 0.9557 GB, free: 3.98 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009983/0.5691, allocations: 0.8197 MB / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5692, allocations: 17.56 kB / 0.9565 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.505e-05/0.5692, allocations: 67.66 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.756e-05/0.5693, allocations: 56.31 kB / 0.9566 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000598/0.5699, allocations: 0.4938 MB / 0.9571 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5699, allocations: 27.72 kB / 0.9572 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.57, allocations: 36.3 kB / 0.9572 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.5705, allocations: 373 kB / 0.9575 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5705, allocations: 0 / 0.9575 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.5706, allocations: 12.34 kB / 0.9576 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.5706, allocations: 6.875 kB / 0.9576 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/0.5711, allocations: 250.4 kB / 0.9578 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.5723, allocations: 1.438 MB / 0.9592 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.5729, allocations: 270.1 kB / 0.9595 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.5732, allocations: 136.2 kB / 0.9596 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.5732, allocations: 2.219 kB / 0.9596 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.5733, allocations: 32.72 kB / 0.9596 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.193e-06/0.5733, allocations: 0 / 0.9596 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0007983/0.5741, allocations: 372.9 kB / 0.96 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5741, allocations: 53.56 kB / 0.96 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.5745, allocations: 419.4 kB / 0.9604 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.5745, allocations: 30.8 kB / 0.9605 GB, free: 212 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5747, allocations: 261.8 kB / 0.9607 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.5747, allocations: 76.77 kB / 0.9608 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.5748, allocations: 57.12 kB / 0.9608 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5749, allocations: 349.1 kB / 0.9612 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.5752, allocations: 96.75 kB / 0.9613 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.5755, allocations: 166.5 kB / 0.9614 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.576, allocations: 270.8 kB / 0.9617 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.576, allocations: 0 / 0.9617 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000617/0.5766, allocations: 344.2 kB / 0.962 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5766, allocations: 6.5 kB / 0.962 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5766, allocations: 2.719 kB / 0.962 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5767, allocations: 3.031 kB / 0.962 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.5769, allocations: 70.8 kB / 0.9621 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.577, allocations: 3.656 kB / 0.9621 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.5772, allocations: 43.02 kB / 0.9621 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5772, allocations: 7.625 kB / 0.9621 GB, free: 14.92 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001781/0.5774, allocations: 178.7 kB / 0.9623 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.5774, allocations: 43.19 kB / 0.9624 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.839e-05/0.5775, allocations: 48.86 kB / 0.9624 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5775, allocations: 2.812 kB / 0.9624 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.5775, allocations: 0 / 0.9624 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5776, allocations: 7.922 kB / 0.9624 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.578, allocations: 437 kB / 0.9628 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.578, allocations: 0 / 0.9628 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.5783, allocations: 46.94 kB / 0.9629 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5783, allocations: 0.9375 kB / 0.9629 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.5783, allocations: 10.52 kB / 0.9629 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5783, allocations: 0.875 kB / 0.9629 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5783, allocations: 4 kB / 0.9629 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.5791, allocations: 0.4926 MB / 0.9634 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.5793, allocations: 146.6 kB / 0.9635 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.5793, allocations: 5.25 kB / 0.9635 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.5795, allocations: 14.61 kB / 0.9635 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.5796, allocations: 14.86 kB / 0.9635 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.5796, allocations: 7.906 kB / 0.9635 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002818/0.5799, allocations: 291.3 kB / 0.9638 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5799, allocations: 0 / 0.9638 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003084/0.5802, allocations: 68.94 kB / 0.9639 GB, free: 13.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.001084/0.5813, allocations: 1.037 MB / 0.9649 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005477/0.5819, allocations: 246.4 kB / 0.9651 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5819, allocations: 0 / 0.9651 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.5821, allocations: 119.2 kB / 0.9653 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.5828, allocations: 132.7 kB / 0.9654 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.5879, allocations: 3.696 MB / 0.969 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.5882, allocations: 0.8217 MB / 0.9698 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.5885, allocations: 43.17 kB / 0.9698 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.5887, allocations: 148.9 kB / 0.97 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.5887, allocations: 0 / 0.97 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.624, allocations: 7.558 MB / 0.9774 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.6243, allocations: 235.2 kB / 0.9776 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.435, allocations: 0 / 0.9776 GB, free: 4.469 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)