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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 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.00127/0.00127, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5913/0.5927, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003238/0.596, allocations: 3.104 MB / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.5973, allocations: 1.093 MB / 0.9538 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.5975, allocations: 20.88 kB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.5977, allocations: 84.78 kB / 0.9539 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.5979, allocations: 108.1 kB / 0.954 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.5984, allocations: 341.3 kB / 0.9544 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.5989, allocations: 0.6351 MB / 0.955 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.5992, allocations: 256.8 kB / 0.9552 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.5993, allocations: 213.1 kB / 0.9554 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.5995, allocations: 211 kB / 0.9556 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.5996, allocations: 52.44 kB / 0.9557 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.5996, allocations: 53.12 kB / 0.9557 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.973e-05/0.5997, allocations: 111.6 kB / 0.9558 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.5998, allocations: 249.5 kB / 0.9561 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.6002, allocations: 0.6609 MB / 0.9567 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6002, allocations: 0 / 0.9567 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6002, allocations: 0 / 0.9567 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.6003, allocations: 0 / 0.9567 GB, free: 3.746 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.0009848/0.6012, allocations: 0.8235 MB / 0.9575 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.6013, allocations: 12.91 kB / 0.9575 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.6013, allocations: 64.77 kB / 0.9576 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.6014, allocations: 60.11 kB / 0.9577 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.602, allocations: 0.4933 MB / 0.9581 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.602, allocations: 24.03 kB / 0.9582 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.6021, allocations: 27.62 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004965/0.6026, allocations: 381.4 kB / 0.9586 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6026, allocations: 0 / 0.9586 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.6026, allocations: 11.34 kB / 0.9586 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.6026, allocations: 7.969 kB / 0.9586 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.6032, allocations: 245.8 kB / 0.9588 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.6043, allocations: 1.447 MB / 0.9602 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.6049, allocations: 266.5 kB / 0.9605 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.6052, allocations: 136.9 kB / 0.9606 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.6052, allocations: 11.22 kB / 0.9606 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.6052, allocations: 31.59 kB / 0.9606 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.283e-06/0.6052, allocations: 0 / 0.9606 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0007622/0.606, allocations: 372.6 kB / 0.961 GB, free: 340 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.606, allocations: 53.62 kB / 0.9611 GB, free: 276 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.6064, allocations: 414.8 kB / 0.9615 GB, free: 8 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.6064, allocations: 30.89 kB / 0.9615 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.6066, allocations: 263.3 kB / 0.9617 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.301e-05/0.6067, allocations: 75.75 kB / 0.9618 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-05/0.6067, allocations: 57.12 kB / 0.9619 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6069, allocations: 348.5 kB / 0.9622 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.6071, allocations: 100.9 kB / 0.9623 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.6074, allocations: 167.2 kB / 0.9624 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.6079, allocations: 263.2 kB / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6079, allocations: 0 / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006063/0.6085, allocations: 347.7 kB / 0.963 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6085, allocations: 6.188 kB / 0.963 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6085, allocations: 1.625 kB / 0.963 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6086, allocations: 7.594 kB / 0.963 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.6088, allocations: 65.89 kB / 0.9631 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.6088, allocations: 3.938 kB / 0.9631 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.609, allocations: 39.08 kB / 0.9631 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.6091, allocations: 8.281 kB / 0.9632 GB, free: 14.69 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.000168/0.6092, allocations: 174.3 kB / 0.9633 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.6093, allocations: 44.03 kB / 0.9634 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/0.6094, allocations: 52.19 kB / 0.9634 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.6094, allocations: 1.5 kB / 0.9634 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6094, allocations: 5.188 kB / 0.9634 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.6094, allocations: 3.938 kB / 0.9634 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.6098, allocations: 441.2 kB / 0.9638 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.6099, allocations: 0 / 0.9638 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.6101, allocations: 46.34 kB / 0.9639 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.6101, allocations: 1.094 kB / 0.9639 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6101, allocations: 6.25 kB / 0.9639 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6102, allocations: 5.156 kB / 0.9639 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6102, allocations: 0 / 0.9639 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.611, allocations: 0.4962 MB / 0.9644 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6111, allocations: 141.5 kB / 0.9645 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.6112, allocations: 6.156 kB / 0.9645 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.6114, allocations: 14.52 kB / 0.9645 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.6114, allocations: 18.66 kB / 0.9646 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.6114, allocations: 8.344 kB / 0.9646 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002839/0.6117, allocations: 287.5 kB / 0.9648 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6117, allocations: 3.938 kB / 0.9648 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003051/0.6121, allocations: 68.31 kB / 0.9649 GB, free: 13.36 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.001059/0.6131, allocations: 1.042 MB / 0.9659 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.6137, allocations: 250.6 kB / 0.9662 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6137, allocations: 4.688 kB / 0.9662 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.614, allocations: 123.4 kB / 0.9663 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.6147, allocations: 129.1 kB / 0.9664 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.619, allocations: 3.541 MB / 0.9699 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.6193, allocations: 0.8213 MB / 0.9707 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.6196, allocations: 47.81 kB / 0.9707 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.6198, allocations: 148.5 kB / 0.9709 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.6198, allocations: 7.938 kB / 0.9709 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.6444, allocations: 7.902 MB / 0.9786 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.333, allocations: 8.375 kB / 0.9786 GB, free: 3.809 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)