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.001069/0.001069, allocations: 108 kB / 15.6 MB, free: 132 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.001164/0.001164, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.689/1.689, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001398/0.001398, allocations: 69.56 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2273, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004759/0.2321, allocations: 3.121 MB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.2344, allocations: 1.139 MB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.2349, allocations: 19.88 kB / 0.7877 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.2353, allocations: 87.12 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.2357, allocations: 99.06 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008596/0.2366, allocations: 353.6 kB / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.2373, allocations: 0.6325 MB / 0.7888 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004314/0.2378, allocations: 258.1 kB / 0.789 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.2381, allocations: 219 kB / 0.7893 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.2384, allocations: 210.8 kB / 0.7895 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.2384, allocations: 52 kB / 0.7895 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.544e-05/0.2385, allocations: 52 kB / 0.7896 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.2386, allocations: 111.6 kB / 0.7897 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2388, allocations: 246.6 kB / 0.7899 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.2394, allocations: 0.654 MB / 0.7905 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2394, allocations: 0 / 0.7905 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2394, allocations: 0 / 0.7905 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.2394, allocations: 4 kB / 0.7905 GB, free: 6.137 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.001242/0.2407, allocations: 0.8176 MB / 0.7913 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2407, allocations: 8.031 kB / 0.7913 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.777e-05/0.2408, allocations: 66.72 kB / 0.7914 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.2409, allocations: 60.19 kB / 0.7915 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.2416, allocations: 0.5022 MB / 0.792 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2417, allocations: 21.03 kB / 0.792 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.2418, allocations: 32.38 kB / 0.792 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.2424, allocations: 371 kB / 0.7924 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2424, allocations: 0 / 0.7924 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.2424, allocations: 16 kB / 0.7924 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2424, allocations: 8 kB / 0.7924 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.243, allocations: 254 kB / 0.7926 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.2445, allocations: 1.44 MB / 0.794 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.2451, allocations: 270.9 kB / 0.7943 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.2454, allocations: 132.8 kB / 0.7944 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2455, allocations: 0 / 0.7944 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2455, allocations: 38.56 kB / 0.7945 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 9.72e-07/0.2455, allocations: 0 / 0.7945 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008618/0.2464, allocations: 360.7 kB / 0.7948 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2464, allocations: 63.34 kB / 0.7949 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.2468, allocations: 413.9 kB / 0.7953 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2469, allocations: 33.7 kB / 0.7953 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.247, allocations: 260.1 kB / 0.7955 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.2471, allocations: 90.73 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.2472, allocations: 45.98 kB / 0.7957 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2473, allocations: 362.7 kB / 0.796 GB, free: 264 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2476, allocations: 92.52 kB / 0.7961 GB, free: 172 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.2478, allocations: 164.8 kB / 0.7963 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.2484, allocations: 271.5 kB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2484, allocations: 4 kB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006236/0.249, allocations: 332.8 kB / 0.7968 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.249, allocations: 6.656 kB / 0.7968 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2491, allocations: 8.234 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2491, allocations: 8 kB / 0.7969 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.2494, allocations: 55.91 kB / 0.7969 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2494, allocations: 7.938 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.2496, allocations: 35.67 kB / 0.797 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.2496, allocations: 15.98 kB / 0.797 GB, free: 15.22 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.0001694/0.2498, allocations: 173.7 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.2499, allocations: 43.47 kB / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.2499, allocations: 51.98 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.25, allocations: 3.984 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.25, allocations: 0 / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.25, allocations: 3.938 kB / 0.7972 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.2504, allocations: 425.3 kB / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2504, allocations: 0 / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.2507, allocations: 51.95 kB / 0.7977 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2507, allocations: 0 / 0.7977 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.2507, allocations: 8 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2507, allocations: 4 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2507, allocations: 3.938 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008569/0.2516, allocations: 0.4986 MB / 0.7982 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.2517, allocations: 140.5 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.2518, allocations: 8 kB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.252, allocations: 7.984 kB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.252, allocations: 19.92 kB / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2521, allocations: 7.984 kB / 0.7984 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002786/0.2523, allocations: 291.1 kB / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2524, allocations: 0 / 0.7986 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003151/0.2527, allocations: 75.69 kB / 0.7987 GB, free: 13.34 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.001117/0.2538, allocations: 1.047 MB / 0.7997 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005988/0.2544, allocations: 251.5 kB / 0.8 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2544, allocations: 0 / 0.8 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.2547, allocations: 124.4 kB / 0.8001 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.2554, allocations: 124.2 kB / 0.8002 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.2598, allocations: 3.561 MB / 0.8037 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.2602, allocations: 0.8191 MB / 0.8045 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.2604, allocations: 51.23 kB / 0.8045 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.2606, allocations: 158.5 kB / 0.8047 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.2607, allocations: 0 / 0.8047 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.2877, allocations: 7.9 MB / 0.8124 GB, free: 15.35 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.816, allocations: 15.02 kB / 0.8124 GB, free: 15.34 MB / 0.6388 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-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)