Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.608/2.608, allocations: 287.3 MB / 302.3 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001609, allocations: 174.4 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 97.7 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006368/0.000637, allocations: 11.69 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2076, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003739/0.2114, allocations: 2.624 MB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2141, allocations: 1.046 MB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000505/0.2147, allocations: 15.94 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.2148, allocations: 35.53 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000698/0.2155, allocations: 143.5 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/0.2165, allocations: 256.4 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000904/0.2174, allocations: 392.5 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.2178, allocations: 170.1 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.2182, allocations: 159.2 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.2184, allocations: 147.1 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.2185, allocations: 12 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.2186, allocations: 12 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.741e-05/0.2187, allocations: 63.56 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.486e-05/0.2188, allocations: 101.5 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.2193, allocations: 0.5181 MB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2193, allocations: 3.938 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2194, allocations: 3.938 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.2194, allocations: 0 / 0.9838 GB, free: 22.59 MB / 0.6198 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.001607/0.221, allocations: 0.7436 MB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2211, allocations: 12.03 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/0.2212, allocations: 66.53 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2213, allocations: 59.3 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2224, allocations: 493.3 kB / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.2225, allocations: 28.66 kB / 0.9852 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.2226, allocations: 28 kB / 0.9852 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/0.2236, allocations: 370.8 kB / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.2236, allocations: 0 / 0.9856 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.2237, allocations: 12 kB / 0.9856 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2237, allocations: 8 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.2247, allocations: 266 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.2269, allocations: 1.433 MB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.2281, allocations: 279.3 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.2282, allocations: 11.98 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2282, allocations: 30.56 kB / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 3.366e-06/0.2282, allocations: 0 / 0.9876 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001437/0.2297, allocations: 381.2 kB / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2297, allocations: 55.41 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006435/0.2304, allocations: 410 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.2305, allocations: 29.64 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.2307, allocations: 264.1 kB / 0.9886 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.2307, allocations: 86.73 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.2308, allocations: 8 kB / 0.9887 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.2309, allocations: 350.8 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.2313, allocations: 100.5 kB / 0.9892 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.2318, allocations: 168.7 kB / 0.9893 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/0.2323, allocations: 117.2 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2323, allocations: 0 / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001107/0.2334, allocations: 356.9 kB / 0.9898 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.2334, allocations: 4 kB / 0.9898 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2335, allocations: 7.938 kB / 0.9898 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.2335, allocations: 4 kB / 0.9898 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.2341, allocations: 75.78 kB / 0.9899 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2341, allocations: 4 kB / 0.9899 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.2345, allocations: 35.86 kB / 0.9899 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.2345, allocations: 11.98 kB / 0.9899 GB, free: 16.06 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.2348, allocations: 169.8 kB / 0.9901 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2349, allocations: 43.44 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.235, allocations: 47.98 kB / 0.9902 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2351, allocations: 0 / 0.9902 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2351, allocations: 3.953 kB / 0.9902 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2351, allocations: 3.984 kB / 0.9902 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.2357, allocations: 433.2 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2357, allocations: 4 kB / 0.9906 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.2362, allocations: 55.89 kB / 0.9906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2363, allocations: 0 / 0.9906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.2363, allocations: 8 kB / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2363, allocations: 4 kB / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2363, allocations: 0 / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.2378, allocations: 0.5188 MB / 0.9912 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.2381, allocations: 140.5 kB / 0.9913 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.2382, allocations: 4 kB / 0.9913 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.2385, allocations: 19.98 kB / 0.9913 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.2386, allocations: 7.984 kB / 0.9913 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.2387, allocations: 11.98 kB / 0.9913 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004338/0.2391, allocations: 287.1 kB / 0.9916 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2391, allocations: 4.062 kB / 0.9916 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004941/0.2396, allocations: 75.64 kB / 0.9917 GB, free: 14.15 MB / 0.6198 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 (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.001693/0.2413, allocations: 1.048 MB / 0.9927 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009887/0.2424, allocations: 255.7 kB / 0.9929 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2424, allocations: 0.5 kB / 0.993 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.2428, allocations: 127.9 kB / 0.9931 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.2438, allocations: 106.6 kB / 0.9932 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.2503, allocations: 3.581 MB / 0.9967 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2507, allocations: 0.8308 MB / 0.9975 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003843/0.2511, allocations: 47.25 kB / 0.9975 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.2514, allocations: 147.4 kB / 0.9977 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2514, allocations: 4 kB / 0.9977 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.2893, allocations: 7.638 MB / 1.005 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.2896, allocations: 222.3 kB / 1.005 GB, free: 260 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/2.956, allocations: 12.97 kB / 1.005 GB, free: 256 kB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)