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.597/1.597, allocations: 249.3 MB / 261.8 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 178.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001038/0.001038, allocations: 78.55 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.46e-05, allocations: 0 / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2067, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6981/0.9049, allocations: 137 MB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.9052, allocations: 94.25 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01737/0.9226, allocations: 6.193 MB / 1.032 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9227, allocations: 0 / 1.032 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.564e-05/0.9227, allocations: 15.98 kB / 1.032 GB, free: 8.516 MB / 0.6511 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.0008183/0.9235, allocations: 0.5693 MB / 1.032 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.9236, allocations: 8.031 kB / 1.032 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.478e-05/0.9237, allocations: 57.05 kB / 1.032 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/0.9237, allocations: 47.39 kB / 1.032 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.9242, allocations: 348.1 kB / 1.033 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.9243, allocations: 12 kB / 1.033 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.9243, allocations: 18.5 kB / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/0.9248, allocations: 274.4 kB / 1.033 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9248, allocations: 0 / 1.033 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.9248, allocations: 7.75 kB / 1.033 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.9248, allocations: 8 kB / 1.033 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.9251, allocations: 159.2 kB / 1.033 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.9265, allocations: 0.9962 MB / 1.034 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.927, allocations: 190.3 kB / 1.034 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.9272, allocations: 76.38 kB / 1.035 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.9272, allocations: 0 / 1.035 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.9273, allocations: 41.88 kB / 1.035 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.9273, allocations: 0 / 1.035 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.000385/0.9277, allocations: 184.2 kB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.9278, allocations: 158.2 kB / 1.035 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.9281, allocations: 309.2 kB / 1.035 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.9281, allocations: 25.7 kB / 1.035 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.9283, allocations: 199.8 kB / 1.035 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.9283, allocations: 46.17 kB / 1.035 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-06/0.9284, allocations: 3.5 kB / 1.035 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9285, allocations: 344.6 kB / 1.036 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.9286, allocations: 55.94 kB / 1.036 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.9288, allocations: 96.66 kB / 1.036 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.9289, allocations: 59.3 kB / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9289, allocations: 0 / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002903/0.9292, allocations: 191.8 kB / 1.036 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9292, allocations: 4 kB / 1.036 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.9292, allocations: 0 / 1.036 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9292, allocations: 7.938 kB / 1.036 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.9295, allocations: 47.95 kB / 1.036 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9295, allocations: 3.938 kB / 1.036 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.9297, allocations: 42.89 kB / 1.036 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.9298, allocations: 7.984 kB / 1.036 GB, free: 4.543 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.723e-05/0.9299, allocations: 111.6 kB / 1.036 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.9299, allocations: 35.58 kB / 1.036 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.595e-05/0.93, allocations: 35.05 kB / 1.036 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.93, allocations: 4 kB / 1.036 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9301, allocations: 0 / 1.036 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9301, allocations: 0 / 1.036 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.9305, allocations: 385.2 kB / 1.037 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9305, allocations: 4 kB / 1.037 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.9307, allocations: 47.91 kB / 1.037 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.9307, allocations: 3.953 kB / 1.037 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.9307, allocations: 3.688 kB / 1.037 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9308, allocations: 0 / 1.037 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9308, allocations: 4 kB / 1.037 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.9311, allocations: 284.9 kB / 1.037 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.9312, allocations: 133.7 kB / 1.037 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.9313, allocations: 15.92 kB / 1.037 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.9315, allocations: 27.67 kB / 1.037 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.9316, allocations: 19.92 kB / 1.037 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.9316, allocations: 7.859 kB / 1.037 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002603/0.9319, allocations: 245 kB / 1.038 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9319, allocations: 0 / 1.038 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002769/0.9322, allocations: 51.16 kB / 1.038 GB, free: 3.297 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0006061/0.9328, allocations: 0.8205 MB / 1.038 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.933, allocations: 137.2 kB / 1.039 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9331, allocations: 0 / 1.039 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.9332, allocations: 79.23 kB / 1.039 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.9337, allocations: 86.92 kB / 1.039 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009832/0.9347, allocations: 416.4 kB / 1.039 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.935, allocations: 0.7796 MB / 1.04 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000154/0.9352, allocations: 38.05 kB / 1.04 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.9354, allocations: 117.5 kB / 1.04 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9354, allocations: 0 / 1.04 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.9561, allocations: 6.511 MB / 1.046 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.9564, allocations: 203.6 kB / 1.047 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.225, allocations: 0 / 1.047 GB, free: 10.5 MB / 0.6667 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)