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.001369/0.001369, allocations: 101.4 kB / 15.7 MB, free: 28 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.001222/0.001222, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.398/1.398, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.666/1.666, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001388/0.001388, allocations: 73.14 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2365, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004088/0.2407, allocations: 2.603 MB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2425, allocations: 0.9248 MB / 0.7871 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.2429, allocations: 4 kB / 0.7871 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.2432, allocations: 63.27 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.2435, allocations: 67.33 kB / 0.7872 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.2444, allocations: 326.6 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007751/0.2452, allocations: 0.6063 MB / 0.7881 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.2457, allocations: 283.7 kB / 0.7884 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.246, allocations: 223.2 kB / 0.7886 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.2464, allocations: 234.9 kB / 0.7888 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.2465, allocations: 68 kB / 0.7889 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.2467, allocations: 87.92 kB / 0.789 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2468, allocations: 115.6 kB / 0.7891 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.2471, allocations: 254.8 kB / 0.7893 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.2479, allocations: 0.7399 MB / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2479, allocations: 0 / 0.79 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2479, allocations: 4 kB / 0.79 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.2479, allocations: 0 / 0.79 GB, free: 6.68 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.001586/0.2495, allocations: 0.7814 MB / 0.7908 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2496, allocations: 12.02 kB / 0.7908 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.2497, allocations: 86.72 kB / 0.7909 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.2498, allocations: 56.28 kB / 0.7909 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.2506, allocations: 396.3 kB / 0.7913 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.2506, allocations: 41.31 kB / 0.7914 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/0.2507, allocations: 44.38 kB / 0.7914 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000791/0.2515, allocations: 442.5 kB / 0.7918 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2515, allocations: 0 / 0.7918 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.2516, allocations: 20 kB / 0.7918 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2516, allocations: 8 kB / 0.7919 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006387/0.2522, allocations: 319.7 kB / 0.7922 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.2545, allocations: 1.409 MB / 0.7935 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.2551, allocations: 258.8 kB / 0.7938 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.2553, allocations: 128.2 kB / 0.7939 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.2554, allocations: 4 kB / 0.7939 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.2558, allocations: 202.6 kB / 0.7941 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.2558, allocations: 0 / 0.7941 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007717/0.2565, allocations: 333 kB / 0.7944 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.2567, allocations: 140.5 kB / 0.7946 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.2572, allocations: 417.6 kB / 0.795 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.2572, allocations: 33.7 kB / 0.795 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.2574, allocations: 244 kB / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.2575, allocations: 86.8 kB / 0.7953 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.2577, allocations: 77.67 kB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2579, allocations: 346.8 kB / 0.7957 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.2582, allocations: 133.1 kB / 0.7958 GB, free: 460 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.2585, allocations: 192.6 kB / 0.796 GB, free: 240 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.2591, allocations: 292.1 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2591, allocations: 0 / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008216/0.2599, allocations: 427.8 kB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.26, allocations: 33.7 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.26, allocations: 0 / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.26, allocations: 7.938 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.2603, allocations: 64.03 kB / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2603, allocations: 0 / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.2607, allocations: 71.48 kB / 0.7969 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.2607, allocations: 19.98 kB / 0.7969 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003761/0.2611, allocations: 240.4 kB / 0.7971 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00029/0.2614, allocations: 192.6 kB / 0.7973 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004286/0.2619, allocations: 289.6 kB / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.2619, allocations: 0 / 0.7976 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000676/0.2626, allocations: 398.6 kB / 0.798 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.2626, allocations: 41.64 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.2626, allocations: 0 / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.2626, allocations: 7.984 kB / 0.798 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2628, allocations: 47.92 kB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2629, allocations: 4 kB / 0.7981 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.2632, allocations: 79.69 kB / 0.7981 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.2633, allocations: 8 kB / 0.7981 GB, free: 13.95 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,uEna.y,$PRE.uEna.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.2634, allocations: 204.5 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.2635, allocations: 47.45 kB / 0.7984 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006151/0.2641, allocations: 305.1 kB / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2641, allocations: 4 kB / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2642, allocations: 0 / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2642, allocations: 3.984 kB / 0.7987 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.2652, allocations: 0.7792 MB / 0.7994 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2652, allocations: 0 / 0.7994 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.2655, allocations: 47.97 kB / 0.7995 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2655, allocations: 4 kB / 0.7995 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2655, allocations: 8 kB / 0.7995 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2655, allocations: 0 / 0.7995 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2655, allocations: 3.938 kB / 0.7995 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.2664, allocations: 499.4 kB / 0.8 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2665, allocations: 120.6 kB / 0.8001 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.2665, allocations: 12.06 kB / 0.8001 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2667, allocations: 15.98 kB / 0.8001 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.2668, allocations: 19.97 kB / 0.8001 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2668, allocations: 11.94 kB / 0.8002 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000354/0.2672, allocations: 291.2 kB / 0.8004 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2672, allocations: 0 / 0.8004 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005734/0.2678, allocations: 163.5 kB / 0.8006 GB, free: 11.35 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 (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.001311/0.2691, allocations: 1.04 MB / 0.8016 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.2702, allocations: 0.5773 MB / 0.8022 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2702, allocations: 0 / 0.8022 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.2704, allocations: 119.9 kB / 0.8023 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.271, allocations: 77.69 kB / 0.8024 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.276, allocations: 3.665 MB / 0.8059 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.2765, allocations: 0.8118 MB / 0.8067 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.2767, allocations: 47.34 kB / 0.8068 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.2769, allocations: 147.4 kB / 0.8069 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of SimCode: time 4.4e-07/0.277, allocations: 0 / 0.8069 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3094, allocations: 8.6 MB / 0.8153 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.484, allocations: 7.875 kB / 0.8153 GB, free: 12.27 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)