Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",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.928/1.928, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001052/0.001051, allocations: 178.2 kB / 371.8 MB, free: 10.3 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.918/1.918, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001136/0.001136, allocations: 94.8 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004255, allocations: 14.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2849, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002916/0.2879, allocations: 2.137 MB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2897, allocations: 0.8432 MB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.2902, allocations: 7.938 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.2903, allocations: 31.64 kB / 0.9824 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.2908, allocations: 71.77 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.2916, allocations: 226.7 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.2923, allocations: 325.4 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003772/0.2927, allocations: 205 kB / 0.9832 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.2929, allocations: 131.4 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.2931, allocations: 159.1 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.2932, allocations: 16 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.2933, allocations: 27.98 kB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.2933, allocations: 63.69 kB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.2934, allocations: 97.45 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.2938, allocations: 0.5535 MB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2938, allocations: 4 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2939, allocations: 0 / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.2939, allocations: 0 / 0.9842 GB, free: 22.72 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00116/0.295, allocations: 0.7072 MB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.2951, allocations: 8.031 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.712e-05/0.2952, allocations: 86.52 kB / 0.985 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.2953, allocations: 51.44 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.2959, allocations: 383.1 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.2959, allocations: 32.94 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.888e-05/0.296, allocations: 55.97 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.2967, allocations: 430.1 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2967, allocations: 0 / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.2967, allocations: 16 kB / 0.9859 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.2967, allocations: 12 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.2973, allocations: 311.9 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.2992, allocations: 1.444 MB / 0.9877 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.2997, allocations: 262.1 kB / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2998, allocations: 0 / 0.9879 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004059/0.3002, allocations: 204 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.3002, allocations: 0 / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0006859/0.3009, allocations: 358.2 kB / 0.9884 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.301, allocations: 132.5 kB / 0.9886 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.3014, allocations: 413.7 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.3014, allocations: 29.7 kB / 0.989 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3016, allocations: 248 kB / 0.9892 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.3016, allocations: 74.83 kB / 0.9893 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.3017, allocations: 12 kB / 0.9893 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3018, allocations: 354.8 kB / 0.9897 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.302, allocations: 124 kB / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.3023, allocations: 196.5 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.3026, allocations: 162 kB / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3026, allocations: 0 / 0.9901 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006261/0.3032, allocations: 427.8 kB / 0.9905 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.3033, allocations: 483 kB / 0.991 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3034, allocations: 4 kB / 0.991 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3034, allocations: 11.94 kB / 0.991 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.3036, allocations: 55.91 kB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3036, allocations: 7.938 kB / 0.9911 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.304, allocations: 91.48 kB / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/0.3041, allocations: 12 kB / 0.9912 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.3041, allocations: 4 kB / 0.9912 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005287/0.3046, allocations: 361.3 kB / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3046, allocations: 4 kB / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-06/0.3046, allocations: 0 / 0.9915 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.3048, allocations: 59.91 kB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.3049, allocations: 4 kB / 0.9916 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3052, allocations: 81.67 kB / 0.9916 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.3052, allocations: 19.98 kB / 0.9917 GB, free: 14.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.0001871/0.3054, allocations: 249 kB / 0.9919 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.3054, allocations: 39.53 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.306, allocations: 313.5 kB / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.306, allocations: 0 / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.306, allocations: 0 / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.306, allocations: 4 kB / 0.9922 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.3068, allocations: 0.7793 MB / 0.993 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3068, allocations: 0 / 0.993 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.307, allocations: 47.92 kB / 0.993 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.307, allocations: 0 / 0.993 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3071, allocations: 11.98 kB / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3071, allocations: 0 / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3071, allocations: 0 / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.3077, allocations: 0.4995 MB / 0.9935 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.3078, allocations: 120.6 kB / 0.9937 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.3078, allocations: 8.047 kB / 0.9937 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.308, allocations: 28.03 kB / 0.9937 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.3081, allocations: 19.97 kB / 0.9937 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.3081, allocations: 8 kB / 0.9937 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000241/0.3084, allocations: 287.2 kB / 0.994 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3084, allocations: 0 / 0.994 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004556/0.3088, allocations: 163.5 kB / 0.9942 GB, free: 12.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008692/0.3097, allocations: 1.044 MB / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007985/0.3105, allocations: 0.5777 MB / 0.9957 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3106, allocations: 3.938 kB / 0.9957 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.3107, allocations: 119.8 kB / 0.9959 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.3111, allocations: 61.95 kB / 0.9959 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.3127, allocations: 1.723 MB / 0.9976 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.3129, allocations: 0.8156 MB / 0.9984 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001699/0.3131, allocations: 51.25 kB / 0.9984 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.3133, allocations: 147.4 kB / 0.9986 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.3133, allocations: 0 / 0.9986 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.3329, allocations: 7.96 MB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.3331, allocations: 212.8 kB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/2.898, allocations: 0 / 1.007 GB, free: 15.42 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)