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 31.86/31.86, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.008124/0.008124, allocations: 176.6 kB / 325.9 MB, free: 2.691 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.45/1.45, allocations: 205 MB / 0.576 GB, free: 20.97 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.03328/0.03328, allocations: 87.95 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002626, allocations: 9.812 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002339/0.1594, allocations: 2.755 MB / 0.8989 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1607, allocations: 1.103 MB / 0.9 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.1609, allocations: 19.88 kB / 0.9 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1611, allocations: 51.58 kB / 0.9001 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.1612, allocations: 59.45 kB / 0.9001 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.1617, allocations: 283.6 kB / 0.9004 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.162, allocations: 444 kB / 0.9008 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1622, allocations: 160.3 kB / 0.901 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1623, allocations: 127.2 kB / 0.9011 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1624, allocations: 111.2 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.1624, allocations: 12 kB / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.1625, allocations: 8 kB / 0.9012 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.1625, allocations: 43.7 kB / 0.9013 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.1626, allocations: 131 kB / 0.9014 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1628, allocations: 434.2 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1628, allocations: 0 / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1628, allocations: 0 / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1628, allocations: 0 / 0.9018 GB, free: 62.33 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.0006903/0.1635, allocations: 0.631 MB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1636, allocations: 8.031 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.1636, allocations: 54.73 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.1637, allocations: 40.47 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.1641, allocations: 410.5 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1641, allocations: 12.81 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1642, allocations: 20.38 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.1645, allocations: 264.4 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1645, allocations: 3.938 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.1646, allocations: 4 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1646, allocations: 8 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.165, allocations: 189 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.1658, allocations: 0.9646 MB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.1662, allocations: 158.7 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1663, allocations: 88.81 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1664, allocations: 4 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.1664, allocations: 30.56 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.1664, allocations: 0 / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0005633/0.167, allocations: 283.5 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.167, allocations: 55.41 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.1672, allocations: 333.7 kB / 0.9052 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1672, allocations: 25.7 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.1673, allocations: 215.9 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1674, allocations: 43.3 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.1674, allocations: 21.72 kB / 0.9055 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.1674, allocations: 342.8 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1676, allocations: 67.95 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1678, allocations: 114 kB / 0.906 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.1681, allocations: 189.8 kB / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1681, allocations: 0 / 0.9062 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003872/0.1685, allocations: 242.8 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1685, allocations: 11.97 kB / 0.9064 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1685, allocations: 7.938 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1685, allocations: 4 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1687, allocations: 43.91 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1688, allocations: 4 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1689, allocations: 27.83 kB / 0.9065 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1689, allocations: 11.98 kB / 0.9065 GB, free: 57.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.521e-05/0.169, allocations: 153.7 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.169, allocations: 35.56 kB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.1691, allocations: 35.12 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1691, allocations: 4 kB / 0.9068 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1691, allocations: 0 / 0.9068 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1691, allocations: 7.969 kB / 0.9068 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1694, allocations: 325.4 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1694, allocations: 4 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1695, allocations: 35.97 kB / 0.9071 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1695, allocations: 3.938 kB / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1695, allocations: 4 kB / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1695, allocations: 3.938 kB / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1695, allocations: 0 / 0.9071 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.1699, allocations: 300.2 kB / 0.9074 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.17, allocations: 120.7 kB / 0.9075 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.17, allocations: 7.938 kB / 0.9075 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1702, allocations: 15.98 kB / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1702, allocations: 15.98 kB / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1702, allocations: 0 / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001501/0.1704, allocations: 239.2 kB / 0.9078 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1704, allocations: 0 / 0.9078 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002273/0.1706, allocations: 47.78 kB / 0.9078 GB, free: 55.73 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 (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.0004944/0.1711, allocations: 0.8447 MB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.1715, allocations: 166.6 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1715, allocations: 7.938 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1717, allocations: 75.95 kB / 0.9089 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1721, allocations: 81.44 kB / 0.909 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.1749, allocations: 2.834 MB / 0.9118 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.1751, allocations: 0.7716 MB / 0.9125 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.1752, allocations: 38.95 kB / 0.9125 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1753, allocations: 111.4 kB / 0.9126 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.1753, allocations: 0 / 0.9126 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3999/0.5753, allocations: 5.486 MB / 0.918 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/0.5755, allocations: 260 kB / 0.9183 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.448, allocations: 0 / 0.9183 GB, free: 45.16 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)