Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 178.5 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008309/0.0008309, allocations: 89.73 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 8.75 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 106.3 MB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002273/0.1501, allocations: 2.566 MB / 0.9027 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1514, allocations: 1.041 MB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.1516, allocations: 19.88 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.751e-05/0.1516, allocations: 39.58 kB / 0.9037 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.152, allocations: 139.5 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1524, allocations: 258.8 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.1527, allocations: 288.7 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1528, allocations: 110.8 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.153, allocations: 111.4 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1531, allocations: 111.3 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.1531, allocations: 4 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.1531, allocations: 8 kB / 0.9047 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.1532, allocations: 39.78 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.1532, allocations: 85.45 kB / 0.9049 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1534, allocations: 359.3 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.1534, allocations: 0 / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1534, allocations: 0 / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1534, allocations: 0 / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006958/0.1541, allocations: 0.6269 MB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1542, allocations: 12.03 kB / 0.9058 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.1542, allocations: 54.53 kB / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1543, allocations: 51.39 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.1547, allocations: 393.5 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1548, allocations: 16.44 kB / 0.9063 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1548, allocations: 16 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1552, allocations: 260.2 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1552, allocations: 0 / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1552, allocations: 11.98 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1552, allocations: 4 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.1556, allocations: 193 kB / 0.9068 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.1565, allocations: 0.9568 MB / 0.9077 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.1569, allocations: 178.5 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.157, allocations: 0 / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.157, allocations: 42.56 kB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.157, allocations: 0 / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0005783/0.1576, allocations: 265.4 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.585e-05/0.1576, allocations: 51.41 kB / 0.9082 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1578, allocations: 325.7 kB / 0.9085 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1579, allocations: 29.7 kB / 0.9086 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.158, allocations: 211.9 kB / 0.9088 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.158, allocations: 59.28 kB / 0.9088 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.158, allocations: 4 kB / 0.9088 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.158, allocations: 338.8 kB / 0.9091 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1582, allocations: 67.89 kB / 0.9092 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1584, allocations: 119.3 kB / 0.9093 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1586, allocations: 75.97 kB / 0.9094 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1586, allocations: 0 / 0.9094 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004117/0.159, allocations: 242.2 kB / 0.9096 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.159, allocations: 4 kB / 0.9096 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.159, allocations: 4 kB / 0.9096 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.159, allocations: 3.984 kB / 0.9096 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.1592, allocations: 48.16 kB / 0.9097 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1592, allocations: 0 / 0.9097 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1594, allocations: 31.89 kB / 0.9097 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1594, allocations: 4 kB / 0.9097 GB, free: 54.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.1595, allocations: 157.7 kB / 0.9099 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.1596, allocations: 35.53 kB / 0.9099 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.1596, allocations: 39.11 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1596, allocations: 4 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1596, allocations: 0 / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1596, allocations: 0 / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.1599, allocations: 325.5 kB / 0.9103 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1599, allocations: 0 / 0.9103 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.16, allocations: 35.91 kB / 0.9103 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.16, allocations: 0 / 0.9103 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1601, allocations: 11.98 kB / 0.9103 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1601, allocations: 7.938 kB / 0.9103 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1601, allocations: 0 / 0.9103 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.1605, allocations: 300.4 kB / 0.9106 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.1606, allocations: 124.6 kB / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1606, allocations: 7.984 kB / 0.9107 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1608, allocations: 11.98 kB / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1608, allocations: 11.92 kB / 0.9107 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1608, allocations: 8 kB / 0.9108 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000151/0.161, allocations: 239.2 kB / 0.911 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.161, allocations: 0 / 0.911 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002468/0.1612, allocations: 43.84 kB / 0.911 GB, free: 52.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005037/0.1617, allocations: 0.8386 MB / 0.9118 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.1621, allocations: 159.8 kB / 0.912 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1621, allocations: 0 / 0.912 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1623, allocations: 84.33 kB / 0.9121 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.1627, allocations: 75.47 kB / 0.9121 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.165, allocations: 2.582 MB / 0.9147 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.1651, allocations: 0.7872 MB / 0.9154 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.1653, allocations: 38.89 kB / 0.9155 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1654, allocations: 103.4 kB / 0.9156 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1654, allocations: 0 / 0.9156 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.1808, allocations: 5.569 MB / 0.921 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001257/0.181, allocations: 226 kB / 0.9212 GB, free: 42.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.018, allocations: 2.812 kB / 0.9212 GB, free: 42.49 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)