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.0009172/0.0009173, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007882/0.007882, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.556/1.556, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.685/2.685, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003839, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003905/1.077, allocations: 2.742 MB / 0.9579 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001943/1.079, allocations: 1.056 MB / 0.9589 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/1.079, allocations: 18.88 kB / 0.9589 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/1.079, allocations: 64.95 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/1.08, allocations: 88.92 kB / 0.9591 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/1.08, allocations: 315.8 kB / 0.9594 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000728/1.081, allocations: 0.5785 MB / 0.9599 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/1.082, allocations: 242.2 kB / 0.9602 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/1.082, allocations: 154.2 kB / 0.9603 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/1.082, allocations: 157.5 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.033e-05/1.082, allocations: 9.625 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.171e-05/1.082, allocations: 11 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/1.082, allocations: 66.56 kB / 0.9605 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/1.082, allocations: 214.8 kB / 0.9607 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005702/1.083, allocations: 0.6042 MB / 0.9613 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.083, allocations: 8 kB / 0.9613 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.675e-06/1.083, allocations: 0 / 0.9613 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.888e-06/1.083, allocations: 0 / 0.9613 GB, free: 2.871 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.00136/1.084, allocations: 0.742 MB / 0.9621 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.119e-05/1.084, allocations: 16.59 kB / 0.9621 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.185e-05/1.085, allocations: 64.75 kB / 0.9621 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/1.085, allocations: 59.69 kB / 0.9622 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008638/1.086, allocations: 0.5074 MB / 0.9627 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/1.086, allocations: 20.09 kB / 0.9627 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-05/1.086, allocations: 32.28 kB / 0.9627 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/1.086, allocations: 381.9 kB / 0.9631 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.086, allocations: 1.344 kB / 0.9631 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/1.087, allocations: 14.62 kB / 0.9631 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/1.087, allocations: 11.28 kB / 0.9631 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/1.087, allocations: 261.9 kB / 0.9634 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/1.089, allocations: 1.442 MB / 0.9648 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/1.09, allocations: 270.7 kB / 0.9651 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/1.09, allocations: 137.9 kB / 0.9652 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/1.09, allocations: 7.375 kB / 0.9652 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/1.09, allocations: 35.53 kB / 0.9652 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/1.09, allocations: 1.281 kB / 0.9652 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001071/1.091, allocations: 389.8 kB / 0.9656 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/1.092, allocations: 54.16 kB / 0.9656 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/1.092, allocations: 413.7 kB / 0.966 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/1.092, allocations: 31.64 kB / 0.9661 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/1.092, allocations: 261.7 kB / 0.9663 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/1.093, allocations: 81.64 kB / 0.9664 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/1.093, allocations: 28.83 kB / 0.9664 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.093, allocations: 348.8 kB / 0.9668 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/1.093, allocations: 103 kB / 0.9669 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/1.094, allocations: 163.1 kB / 0.967 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006596/1.094, allocations: 282.6 kB / 0.9673 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.094, allocations: 1.125 kB / 0.9673 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008734/1.095, allocations: 354.5 kB / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.095, allocations: 10.12 kB / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.095, allocations: 5.312 kB / 0.9676 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.095, allocations: 3.875 kB / 0.9676 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/1.096, allocations: 68.58 kB / 0.9677 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.096, allocations: 4.188 kB / 0.9677 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/1.096, allocations: 45.61 kB / 0.9678 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/1.096, allocations: 8.312 kB / 0.9678 GB, free: 13.88 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.0002842/1.096, allocations: 181.7 kB / 0.9679 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/1.096, allocations: 43.97 kB / 0.968 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/1.096, allocations: 51.97 kB / 0.968 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.096, allocations: 3.219 kB / 0.968 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/1.096, allocations: 4 kB / 0.968 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/1.096, allocations: 4.906 kB / 0.968 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/1.097, allocations: 432.8 kB / 0.9685 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.097, allocations: 0 / 0.9685 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/1.097, allocations: 53.66 kB / 0.9685 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/1.097, allocations: 0.7188 kB / 0.9685 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/1.097, allocations: 10.45 kB / 0.9685 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/1.097, allocations: 4.953 kB / 0.9685 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.097, allocations: 0 / 0.9685 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/1.099, allocations: 0.5116 MB / 0.969 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/1.099, allocations: 141.9 kB / 0.9692 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/1.099, allocations: 6.25 kB / 0.9692 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/1.099, allocations: 17.17 kB / 0.9692 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/1.099, allocations: 18.72 kB / 0.9692 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/1.099, allocations: 8.188 kB / 0.9692 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004397/1.1, allocations: 287.2 kB / 0.9695 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.935e-06/1.1, allocations: 1 kB / 0.9695 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003894/1.1, allocations: 72.62 kB / 0.9695 GB, free: 12.55 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.001623/1.102, allocations: 1.058 MB / 0.9706 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007819/1.103, allocations: 259 kB / 0.9708 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/1.103, allocations: 0 / 0.9708 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003503/1.103, allocations: 123.2 kB / 0.9709 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/1.104, allocations: 118.8 kB / 0.9711 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/1.112, allocations: 3.745 MB / 0.9747 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/1.112, allocations: 0.8244 MB / 0.9755 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003237/1.113, allocations: 51.81 kB / 0.9756 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/1.113, allocations: 148.5 kB / 0.9757 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of SimCode: time 2.054e-06/1.113, allocations: 0 / 0.9757 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/1.151, allocations: 7.448 MB / 0.983 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.151, allocations: 237.5 kB / 0.9832 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.321, allocations: 0 / 0.9832 GB, free: 2.23 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)