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.428/1.428, allocations: 252 MB / 267.3 MB, free: 10.81 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.001231/0.001231, allocations: 170.6 kB / 327 MB, free: 2.105 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.724/1.724, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0009396/0.0009396, allocations: 94.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003428, allocations: 9.375 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2237, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004126/0.2279, allocations: 2.695 MB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002955/0.2309, allocations: 1.095 MB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007724/0.2317, allocations: 19.88 kB / 0.9047 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.232, allocations: 47.59 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.2323, allocations: 67.44 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007094/0.233, allocations: 276.9 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.2334, allocations: 452 kB / 0.9055 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.2336, allocations: 164.3 kB / 0.9056 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.2338, allocations: 115.2 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.234, allocations: 115.2 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.234, allocations: 8 kB / 0.9058 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.95e-05/0.2341, allocations: 4 kB / 0.9058 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.2341, allocations: 47.72 kB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2342, allocations: 160.7 kB / 0.906 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.2345, allocations: 430.5 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2345, allocations: 4 kB / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2345, allocations: 0 / 0.9065 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2345, allocations: 0 / 0.9065 GB, free: 57.67 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.000839/0.2354, allocations: 0.6192 MB / 0.9071 GB, free: 57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2354, allocations: 12.03 kB / 0.9071 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.2355, allocations: 54.73 kB / 0.9071 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.2356, allocations: 48.47 kB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.2361, allocations: 422.4 kB / 0.9076 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.2361, allocations: 12.81 kB / 0.9076 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2362, allocations: 20.38 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.2366, allocations: 256.4 kB / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2366, allocations: 4 kB / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.2366, allocations: 11.94 kB / 0.9079 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.2367, allocations: 4 kB / 0.9079 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.2371, allocations: 193 kB / 0.9081 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.2381, allocations: 0.9452 MB / 0.909 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.2385, allocations: 170.6 kB / 0.9091 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.2387, allocations: 88.91 kB / 0.9092 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.2388, allocations: 11.97 kB / 0.9092 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.2388, allocations: 30.56 kB / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2388, allocations: 0 / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0006434/0.2394, allocations: 273 kB / 0.9095 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.2395, allocations: 55.41 kB / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.2397, allocations: 333.6 kB / 0.9099 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2398, allocations: 33.7 kB / 0.9099 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2399, allocations: 212 kB / 0.9101 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2399, allocations: 43.3 kB / 0.9102 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.2399, allocations: 7.938 kB / 0.9102 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.24, allocations: 342.8 kB / 0.9105 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2402, allocations: 63.97 kB / 0.9106 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.2404, allocations: 119.7 kB / 0.9107 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.2407, allocations: 194.7 kB / 0.9109 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2408, allocations: 3.938 kB / 0.9109 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004536/0.2412, allocations: 238 kB / 0.9111 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2412, allocations: 7.938 kB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2413, allocations: 4.188 kB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2413, allocations: 4 kB / 0.9111 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2415, allocations: 47.91 kB / 0.9112 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2415, allocations: 0 / 0.9112 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2417, allocations: 31.83 kB / 0.9112 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.2417, allocations: 7.984 kB / 0.9112 GB, free: 52.52 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 0.000128/0.2418, allocations: 153.8 kB / 0.9113 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.2419, allocations: 35.56 kB / 0.9114 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.242, allocations: 35.12 kB / 0.9114 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.242, allocations: 4 kB / 0.9114 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.242, allocations: 0 / 0.9114 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.242, allocations: 0 / 0.9114 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.2422, allocations: 329.4 kB / 0.9117 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2422, allocations: 0 / 0.9117 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.2424, allocations: 39.97 kB / 0.9118 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2424, allocations: 3.938 kB / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2424, allocations: 0 / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2425, allocations: 4 kB / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2425, allocations: 0 / 0.9118 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.2429, allocations: 303.5 kB / 0.9121 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.243, allocations: 124.7 kB / 0.9122 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.243, allocations: 7.938 kB / 0.9122 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.2432, allocations: 11.98 kB / 0.9122 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.2432, allocations: 11.98 kB / 0.9122 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.2432, allocations: 8 kB / 0.9122 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001745/0.2434, allocations: 235.2 kB / 0.9124 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2434, allocations: 4 kB / 0.9124 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002445/0.2437, allocations: 43.84 kB / 0.9125 GB, free: 51.09 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.0005944/0.2443, allocations: 0.8465 MB / 0.9133 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.2447, allocations: 159.8 kB / 0.9135 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2447, allocations: 0 / 0.9135 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.2449, allocations: 90.14 kB / 0.9136 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/0.2455, allocations: 78.86 kB / 0.9136 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.2486, allocations: 2.857 MB / 0.9164 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2488, allocations: 0.7755 MB / 0.9172 GB, free: 46.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001481/0.2489, allocations: 38.95 kB / 0.9172 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2491, allocations: 113.4 kB / 0.9173 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2491, allocations: 0 / 0.9173 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.2634, allocations: 5.474 MB / 0.9227 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.2636, allocations: 257 kB / 0.9229 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.491, allocations: 3.094 kB / 0.9229 GB, free: 40.5 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)