Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 199.1 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 70.03 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.21, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004187/0.2142, allocations: 3.127 MB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2159, allocations: 1.143 MB / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.2161, allocations: 19.88 kB / 0.7878 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.2164, allocations: 87.12 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.2166, allocations: 103.1 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.2172, allocations: 345.9 kB / 0.7883 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.2178, allocations: 0.6325 MB / 0.789 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003561/0.2182, allocations: 258.1 kB / 0.7892 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2184, allocations: 223 kB / 0.7894 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.2186, allocations: 206.8 kB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.2187, allocations: 52 kB / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.721e-05/0.2187, allocations: 52 kB / 0.7897 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.2188, allocations: 115.5 kB / 0.7898 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.219, allocations: 238.6 kB / 0.7901 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.2196, allocations: 0.685 MB / 0.7907 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2196, allocations: 0 / 0.7907 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2196, allocations: 0 / 0.7907 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2196, allocations: 0 / 0.7907 GB, free: 5.973 MB / 0.6075 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.001162/0.2208, allocations: 0.8214 MB / 0.7915 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2208, allocations: 12.03 kB / 0.7915 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.2209, allocations: 62.72 kB / 0.7916 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.221, allocations: 64.19 kB / 0.7917 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.2217, allocations: 0.51 MB / 0.7922 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2218, allocations: 17.03 kB / 0.7922 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/0.2218, allocations: 32.38 kB / 0.7922 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.2224, allocations: 374.9 kB / 0.7926 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2224, allocations: 0 / 0.7926 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.2224, allocations: 12 kB / 0.7926 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2225, allocations: 12 kB / 0.7926 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.223, allocations: 258 kB / 0.7928 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.2245, allocations: 1.425 MB / 0.7942 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/0.2251, allocations: 265.9 kB / 0.7945 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.2254, allocations: 143.5 kB / 0.7946 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2254, allocations: 4 kB / 0.7946 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2254, allocations: 34.56 kB / 0.7947 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.2255, allocations: 0 / 0.7947 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008141/0.2263, allocations: 364.7 kB / 0.795 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2263, allocations: 55.41 kB / 0.7951 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.2267, allocations: 417.9 kB / 0.7955 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2268, allocations: 29.7 kB / 0.7955 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2269, allocations: 260.1 kB / 0.7957 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.227, allocations: 78.75 kB / 0.7958 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.2271, allocations: 61.97 kB / 0.7959 GB, free: 460 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2272, allocations: 354.7 kB / 0.7962 GB, free: 96 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.2275, allocations: 96.5 kB / 0.7963 GB, free: 0 / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.2278, allocations: 160.8 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.2283, allocations: 271 kB / 0.7967 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2283, allocations: 0 / 0.7967 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006059/0.2289, allocations: 344.8 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2289, allocations: 4 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2289, allocations: 4 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2289, allocations: 0 / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2292, allocations: 64.14 kB / 0.7971 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2292, allocations: 8 kB / 0.7971 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.2294, allocations: 35.67 kB / 0.7971 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2294, allocations: 12 kB / 0.7972 GB, free: 15.06 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.2296, allocations: 183.9 kB / 0.7973 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.2297, allocations: 39.53 kB / 0.7974 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.609e-05/0.2298, allocations: 43.98 kB / 0.7974 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2298, allocations: 4 kB / 0.7974 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2298, allocations: 4 kB / 0.7974 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2298, allocations: 7.922 kB / 0.7974 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.2302, allocations: 429.2 kB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2302, allocations: 0 / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.2305, allocations: 51.91 kB / 0.7979 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2305, allocations: 0 / 0.7979 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.2305, allocations: 3.984 kB / 0.7979 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2305, allocations: 8 kB / 0.7979 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2305, allocations: 0 / 0.7979 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.2314, allocations: 0.5008 MB / 0.7984 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.2315, allocations: 140.5 kB / 0.7985 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2315, allocations: 3.984 kB / 0.7985 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2317, allocations: 20.05 kB / 0.7985 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.2318, allocations: 19.92 kB / 0.7986 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2318, allocations: 4 kB / 0.7986 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002831/0.2321, allocations: 291.1 kB / 0.7988 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2321, allocations: 0 / 0.7988 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002917/0.2324, allocations: 67.69 kB / 0.7989 GB, free: 13.17 MB / 0.6231 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 (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.001101/0.2335, allocations: 1.043 MB / 0.7999 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.2341, allocations: 251.6 kB / 0.8002 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2341, allocations: 0 / 0.8002 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.2343, allocations: 115.9 kB / 0.8003 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.235, allocations: 135 kB / 0.8004 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/0.2393, allocations: 3.506 MB / 0.8038 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.2397, allocations: 0.8116 MB / 0.8046 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.2399, allocations: 51.25 kB / 0.8047 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.2401, allocations: 151.4 kB / 0.8048 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2401, allocations: 0 / 0.8048 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.2657, allocations: 7.917 MB / 0.8125 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.211/7.477, allocations: 3.938 kB / 0.8125 GB, free: 15.25 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)