Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.001256/0.001256, allocations: 184.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0008455/0.0008456, allocations: 94.34 kB / 0.744 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004169, allocations: 10.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2482, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003226/0.2514, allocations: 2.62 MB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.2538, allocations: 1.08 MB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005683/0.2544, allocations: 15.94 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.2547, allocations: 55.39 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.255, allocations: 75.36 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.2558, allocations: 242.8 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006981/0.2565, allocations: 0.5388 MB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.2568, allocations: 166.1 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.2571, allocations: 147.1 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.2574, allocations: 154.9 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.2575, allocations: 11.94 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-05/0.2575, allocations: 12 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.2576, allocations: 59.58 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.2577, allocations: 109.5 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.2581, allocations: 0.5142 MB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2581, allocations: 0 / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2581, allocations: 0 / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.2581, allocations: 4 kB / 0.9853 GB, free: 21.74 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.001285/0.2594, allocations: 0.7435 MB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2595, allocations: 20.02 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.2596, allocations: 58.55 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2597, allocations: 59.34 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.2605, allocations: 497.2 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.2605, allocations: 24.66 kB / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.2606, allocations: 28 kB / 0.9867 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.2613, allocations: 366.8 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2613, allocations: 4 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.2614, allocations: 16 kB / 0.9871 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.2614, allocations: 11.98 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.262, allocations: 262 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.2635, allocations: 1.44 MB / 0.9887 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.2642, allocations: 266.8 kB / 0.989 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2644, allocations: 144.8 kB / 0.9891 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.2645, allocations: 4 kB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.2645, allocations: 42.55 kB / 0.9892 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.2645, allocations: 0 / 0.9892 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0008959/0.2654, allocations: 384.7 kB / 0.9895 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2655, allocations: 51.41 kB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.2659, allocations: 414 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2659, allocations: 29.7 kB / 0.99 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.266, allocations: 260.1 kB / 0.9903 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.2661, allocations: 86.73 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.2661, allocations: 4 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.2662, allocations: 354.7 kB / 0.9907 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.2664, allocations: 104.5 kB / 0.9908 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.2667, allocations: 168.7 kB / 0.9909 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.267, allocations: 121.7 kB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.267, allocations: 4 kB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007113/0.2677, allocations: 344.8 kB / 0.9914 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.2678, allocations: 11.94 kB / 0.9914 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2678, allocations: 3.938 kB / 0.9914 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.2678, allocations: 7.984 kB / 0.9914 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.2681, allocations: 63.91 kB / 0.9915 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.2681, allocations: 3.953 kB / 0.9915 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.2684, allocations: 39.98 kB / 0.9915 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2684, allocations: 15.98 kB / 0.9915 GB, free: 15.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.0002122/0.2686, allocations: 169.8 kB / 0.9917 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.2687, allocations: 43.44 kB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.2688, allocations: 43.98 kB / 0.9918 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2688, allocations: 4 kB / 0.9918 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.2688, allocations: 7.984 kB / 0.9918 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2688, allocations: 7.953 kB / 0.9918 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.2693, allocations: 429.2 kB / 0.9922 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.2693, allocations: 0 / 0.9922 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.2696, allocations: 59.89 kB / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2696, allocations: 0 / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.2696, allocations: 4 kB / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2696, allocations: 4 kB / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2696, allocations: 0 / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008831/0.2705, allocations: 0.5104 MB / 0.9928 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2707, allocations: 144.5 kB / 0.9929 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.2707, allocations: 4 kB / 0.9929 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.2709, allocations: 11.98 kB / 0.9929 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.523e-05/0.271, allocations: 15.98 kB / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.271, allocations: 7.984 kB / 0.9929 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002867/0.2713, allocations: 291.2 kB / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2713, allocations: 0 / 0.9932 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000324/0.2717, allocations: 67.78 kB / 0.9933 GB, free: 13.17 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.001078/0.2728, allocations: 1.067 MB / 0.9943 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.2733, allocations: 252.1 kB / 0.9946 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2733, allocations: 4 kB / 0.9946 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.2736, allocations: 127.8 kB / 0.9947 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.2743, allocations: 117 kB / 0.9948 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.2782, allocations: 2.393 MB / 0.9971 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2784, allocations: 0.823 MB / 0.9979 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.2787, allocations: 51.25 kB / 0.998 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.2789, allocations: 143.4 kB / 0.9981 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2789, allocations: 0 / 0.9981 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.2998, allocations: 7.654 MB / 1.006 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.3, allocations: 234.9 kB / 1.006 GB, free: 464 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/2.647, allocations: 3.938 kB / 1.006 GB, free: 460 kB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)