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.786/2.786, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001349/0.001348, allocations: 180.5 kB / 371 MB, free: 10.85 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.182/2.182, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009583/0.0009577, allocations: 89.23 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008023/0.0008031, allocations: 16.02 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3015, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005011/0.3066, allocations: 2.628 MB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.3099, allocations: 1.077 MB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005091/0.3105, allocations: 15.88 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.3109, allocations: 59.39 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.3112, allocations: 75.36 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3125, allocations: 237.5 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008985/0.3134, allocations: 0.5349 MB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004646/0.3139, allocations: 166.1 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.3142, allocations: 147.1 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.3146, allocations: 155 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.3147, allocations: 12 kB / 0.9834 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/0.3148, allocations: 12 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.924e-05/0.3149, allocations: 59.62 kB / 0.9835 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.315, allocations: 105.4 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.3158, allocations: 0.5142 MB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3158, allocations: 0 / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3158, allocations: 0 / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3158, allocations: 0 / 0.9841 GB, free: 22.43 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.001994/0.3178, allocations: 0.7523 MB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.3179, allocations: 12.02 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.3181, allocations: 62.55 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.3182, allocations: 59.3 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.3196, allocations: 0.4895 MB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.3197, allocations: 24.66 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.3198, allocations: 32 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3211, allocations: 366.8 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3211, allocations: 0 / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.3212, allocations: 15.98 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3212, allocations: 8 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.3225, allocations: 266 kB / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.3253, allocations: 1.436 MB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.3267, allocations: 258.9 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.3274, allocations: 148.7 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.3274, allocations: 4 kB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3275, allocations: 38.55 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 5.531e-06/0.3275, allocations: 3.984 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001833/0.3293, allocations: 384.7 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3294, allocations: 51.41 kB / 0.9884 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/0.3302, allocations: 414 kB / 0.9888 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.3302, allocations: 29.7 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.3305, allocations: 268 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3307, allocations: 78.75 kB / 0.9891 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3307, allocations: 4 kB / 0.9891 GB, free: 17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3308, allocations: 354.8 kB / 0.9895 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/0.3314, allocations: 108.4 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.332, allocations: 164.7 kB / 0.9897 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005781/0.3326, allocations: 125.3 kB / 0.9899 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3326, allocations: 0 / 0.9899 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001422/0.334, allocations: 344.8 kB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.3341, allocations: 8 kB / 0.9902 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3341, allocations: 0 / 0.9902 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.3341, allocations: 15.88 kB / 0.9902 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.3348, allocations: 68.16 kB / 0.9903 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3348, allocations: 4 kB / 0.9903 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.3353, allocations: 35.73 kB / 0.9903 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.3354, allocations: 15.98 kB / 0.9903 GB, free: 15.75 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.0003557/0.3357, allocations: 169.8 kB / 0.9905 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3359, allocations: 43.44 kB / 0.9905 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.336, allocations: 47.98 kB / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3361, allocations: 7.984 kB / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.579e-06/0.3361, allocations: 3.953 kB / 0.9906 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3361, allocations: 0 / 0.9906 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.3369, allocations: 437.2 kB / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.337, allocations: 0 / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.3376, allocations: 55.89 kB / 0.9911 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.3376, allocations: 4 kB / 0.9911 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.3376, allocations: 0 / 0.9911 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3376, allocations: 4 kB / 0.9911 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3377, allocations: 4 kB / 0.9911 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.3395, allocations: 0.515 MB / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.3398, allocations: 144.5 kB / 0.9917 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-05/0.3399, allocations: 0 / 0.9917 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.3403, allocations: 20.05 kB / 0.9917 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.3404, allocations: 15.98 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.3405, allocations: 7.984 kB / 0.9918 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005793/0.3411, allocations: 287.1 kB / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.71e-07/0.3411, allocations: 0 / 0.992 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007246/0.3418, allocations: 75.72 kB / 0.9921 GB, free: 13.84 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.002134/0.344, allocations: 1.059 MB / 0.9931 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.3452, allocations: 256.2 kB / 0.9934 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3452, allocations: 0 / 0.9934 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.3458, allocations: 119.9 kB / 0.9935 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.3473, allocations: 114.5 kB / 0.9936 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/0.3555, allocations: 2.397 MB / 0.9959 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.356, allocations: 0.8191 MB / 0.9967 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004995/0.3565, allocations: 47.27 kB / 0.9968 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.3569, allocations: 143.4 kB / 0.9969 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of SimCode: time 8.156e-06/0.3569, allocations: 0 / 0.9969 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/0.3964, allocations: 7.669 MB / 1.004 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.3967, allocations: 224.5 kB / 1.005 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.121, allocations: 0 / 1.005 GB, free: 1.121 MB / 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)