Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",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.001142/0.001141, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.794/1.794, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0007128/0.0007133, allocations: 19.97 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2614, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002718/0.2641, allocations: 2.133 MB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2659, allocations: 0.8666 MB / 0.7903 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.2661, allocations: 4 kB / 0.7903 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.2663, allocations: 43.53 kB / 0.7904 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.2665, allocations: 39.7 kB / 0.7904 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.2671, allocations: 223.7 kB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.2676, allocations: 0.5087 MB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.2679, allocations: 201 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2681, allocations: 135.3 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2683, allocations: 155.1 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.2684, allocations: 19.94 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.2685, allocations: 31.97 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.2686, allocations: 63.64 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.2687, allocations: 101.4 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2692, allocations: 0.5535 MB / 0.7923 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2692, allocations: 0 / 0.7923 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2692, allocations: 0 / 0.7923 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2692, allocations: 0 / 0.7923 GB, free: 6.723 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001202/0.2704, allocations: 0.715 MB / 0.793 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.2705, allocations: 12.03 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.2706, allocations: 74.53 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.2707, allocations: 51.44 kB / 0.7932 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.2713, allocations: 395 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2713, allocations: 33 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.2714, allocations: 40 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.2722, allocations: 434.2 kB / 0.794 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2722, allocations: 0 / 0.794 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.2722, allocations: 19.98 kB / 0.7941 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2723, allocations: 12 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.2729, allocations: 307.8 kB / 0.7944 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2749, allocations: 1.444 MB / 0.7958 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.2754, allocations: 258.8 kB / 0.796 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.2757, allocations: 128.4 kB / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.2757, allocations: 0 / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.2761, allocations: 205.5 kB / 0.7963 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.2761, allocations: 0 / 0.7963 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007109/0.2769, allocations: 351.1 kB / 0.7967 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.277, allocations: 128.5 kB / 0.7968 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.2774, allocations: 413.7 kB / 0.7972 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.2775, allocations: 37.64 kB / 0.7972 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.2777, allocations: 248 kB / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.2777, allocations: 86.81 kB / 0.7975 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.2778, allocations: 4 kB / 0.7975 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2779, allocations: 350.8 kB / 0.7979 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.2782, allocations: 120.3 kB / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.2785, allocations: 196.5 kB / 0.7982 GB, free: 452 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.2788, allocations: 158.5 kB / 0.7983 GB, free: 288 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2788, allocations: 0 / 0.7983 GB, free: 288 kB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000729/0.2795, allocations: 421.1 kB / 0.7987 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.2796, allocations: 170.3 kB / 0.7989 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2796, allocations: 0 / 0.7989 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2797, allocations: 7.938 kB / 0.7989 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2799, allocations: 59.91 kB / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2799, allocations: 0 / 0.799 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.2803, allocations: 87.48 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.2803, allocations: 16 kB / 0.7991 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.2803, allocations: 7.984 kB / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005804/0.2809, allocations: 353.4 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.2809, allocations: 0 / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.648e-06/0.281, allocations: 4 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2812, allocations: 59.91 kB / 0.7995 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2812, allocations: 3.953 kB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.2815, allocations: 86.55 kB / 0.7995 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.2815, allocations: 15.98 kB / 0.7996 GB, free: 14.98 MB / 0.6231 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.0002298/0.2818, allocations: 249 kB / 0.7998 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.2818, allocations: 35.53 kB / 0.7998 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.2824, allocations: 309.1 kB / 0.8001 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2824, allocations: 4 kB / 0.8001 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.2824, allocations: 7.953 kB / 0.8001 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2824, allocations: 0 / 0.8001 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009465/0.2834, allocations: 0.7883 MB / 0.8009 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2834, allocations: 0 / 0.8009 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.2836, allocations: 39.98 kB / 0.801 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.2836, allocations: 4 kB / 0.801 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.2836, allocations: 7.984 kB / 0.801 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2837, allocations: 11.89 kB / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2837, allocations: 0 / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.2844, allocations: 498.8 kB / 0.8014 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.2845, allocations: 124.6 kB / 0.8016 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.2846, allocations: 4 kB / 0.8016 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2847, allocations: 23.97 kB / 0.8016 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.2848, allocations: 24 kB / 0.8016 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2848, allocations: 11.98 kB / 0.8016 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003152/0.2851, allocations: 295.2 kB / 0.8019 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2852, allocations: 0 / 0.8019 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005068/0.2857, allocations: 151.5 kB / 0.8021 GB, free: 12.32 MB / 0.6231 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.001047/0.2867, allocations: 1.048 MB / 0.8031 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.2876, allocations: 0.5766 MB / 0.8036 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2877, allocations: 0 / 0.8036 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.2879, allocations: 119.9 kB / 0.8038 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.2884, allocations: 77.78 kB / 0.8038 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.2919, allocations: 2.266 MB / 0.806 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2923, allocations: 0.804 MB / 0.8068 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.2924, allocations: 51.3 kB / 0.8069 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.2927, allocations: 147.4 kB / 0.807 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/0.2927, allocations: 0 / 0.807 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.3153, allocations: 8.168 MB / 0.815 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.3155, allocations: 212.7 kB / 0.8152 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/2.425, allocations: 8 kB / 0.8152 GB, free: 14.91 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1) Environment - environmentSimulation: