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.0009843/0.0009843, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00794/0.00794, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.43/1.43, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.623/1.623, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005308/0.0005311, allocations: 15.75 kB / 0.6744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2314, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.002645/0.234, allocations: 2.248 MB / 0.7902 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2355, allocations: 0.8898 MB / 0.7911 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.2357, allocations: 7.938 kB / 0.7911 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.2359, allocations: 47.58 kB / 0.7911 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.236, allocations: 43.64 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006165/0.2367, allocations: 283.9 kB / 0.7914 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.2371, allocations: 0.5438 MB / 0.7919 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.2375, allocations: 263.8 kB / 0.7922 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.2377, allocations: 147.2 kB / 0.7923 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2379, allocations: 170.9 kB / 0.7925 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.238, allocations: 16 kB / 0.7925 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.043e-05/0.2381, allocations: 23.98 kB / 0.7925 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.2381, allocations: 63.64 kB / 0.7926 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.2383, allocations: 212.5 kB / 0.7928 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005512/0.2388, allocations: 0.658 MB / 0.7934 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2389, allocations: 0 / 0.7934 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2389, allocations: 0 / 0.7934 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2389, allocations: 0 / 0.7934 GB, free: 5.848 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.001075/0.24, allocations: 0.7074 MB / 0.7941 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.24, allocations: 15.97 kB / 0.7942 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.2401, allocations: 74.72 kB / 0.7942 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.2402, allocations: 56.36 kB / 0.7943 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.2407, allocations: 400.3 kB / 0.7947 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.2408, allocations: 33.38 kB / 0.7947 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.2408, allocations: 44.31 kB / 0.7947 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.2416, allocations: 450.4 kB / 0.7952 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2416, allocations: 0 / 0.7952 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.2416, allocations: 20 kB / 0.7952 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2416, allocations: 8 kB / 0.7952 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.2422, allocations: 315.9 kB / 0.7955 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2441, allocations: 1.44 MB / 0.7969 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.2447, allocations: 262.8 kB / 0.7971 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.245, allocations: 124.8 kB / 0.7973 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.245, allocations: 0 / 0.7973 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.2453, allocations: 209.5 kB / 0.7975 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.162e-06/0.2453, allocations: 0 / 0.7975 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0006913/0.246, allocations: 340.9 kB / 0.7978 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.2461, allocations: 132.5 kB / 0.7979 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.2465, allocations: 417.6 kB / 0.7983 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.2466, allocations: 41.69 kB / 0.7984 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2468, allocations: 244.1 kB / 0.7986 GB, free: 312 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.2468, allocations: 82.8 kB / 0.7987 GB, free: 228 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.2469, allocations: 33.7 kB / 0.7987 GB, free: 188 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.247, allocations: 354.8 kB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.2473, allocations: 120.3 kB / 0.7992 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.2476, allocations: 200.3 kB / 0.7993 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.2481, allocations: 296 kB / 0.7996 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2481, allocations: 0 / 0.7996 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007089/0.2488, allocations: 427.9 kB / 0.8 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.2489, allocations: 158.1 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2489, allocations: 4 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2489, allocations: 0 / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.2492, allocations: 63.84 kB / 0.8003 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2492, allocations: 7.938 kB / 0.8003 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.2496, allocations: 87.48 kB / 0.8003 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.2496, allocations: 19.98 kB / 0.8004 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-06/0.2496, allocations: 4 kB / 0.8004 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005771/0.2502, allocations: 353.4 kB / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2502, allocations: 0 / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.2502, allocations: 11.92 kB / 0.8007 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.2505, allocations: 59.91 kB / 0.8008 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.2505, allocations: 128 / 0.8008 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.2508, allocations: 86.92 kB / 0.8009 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.2508, allocations: 23.92 kB / 0.8009 GB, free: 13.86 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.000187/0.251, allocations: 247.2 kB / 0.8011 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.2511, allocations: 35.53 kB / 0.8011 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000577/0.2517, allocations: 313 kB / 0.8014 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2517, allocations: 0 / 0.8014 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2517, allocations: 0 / 0.8014 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2517, allocations: 8 kB / 0.8015 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/0.2526, allocations: 0.7843 MB / 0.8022 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2527, allocations: 0 / 0.8022 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.2529, allocations: 51.91 kB / 0.8023 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2529, allocations: 4 kB / 0.8023 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2529, allocations: 8 kB / 0.8023 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.2529, allocations: 4 kB / 0.8023 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2529, allocations: 4 kB / 0.8023 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.2537, allocations: 0.491 MB / 0.8028 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.2538, allocations: 124.7 kB / 0.8029 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.2538, allocations: 8 kB / 0.8029 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.254, allocations: 19.98 kB / 0.8029 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.2541, allocations: 15.97 kB / 0.8029 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.2541, allocations: 12 kB / 0.8029 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002822/0.2544, allocations: 291.2 kB / 0.8032 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2544, allocations: 0 / 0.8032 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004494/0.2548, allocations: 151.6 kB / 0.8034 GB, free: 11.21 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.001022/0.2559, allocations: 1.06 MB / 0.8044 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008708/0.2567, allocations: 0.5764 MB / 0.805 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2568, allocations: 4 kB / 0.805 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.257, allocations: 120.4 kB / 0.8051 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.2574, allocations: 69.45 kB / 0.8051 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/0.2622, allocations: 3.889 MB / 0.8089 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2626, allocations: 0.8077 MB / 0.8097 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.2627, allocations: 47.27 kB / 0.8098 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.2629, allocations: 151.4 kB / 0.8099 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.2629, allocations: 0 / 0.8099 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.435/2.698, allocations: 8.111 MB / 0.8178 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/2.698, allocations: 224.7 kB / 0.8181 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/5.031, allocations: 0 / 0.8181 GB, free: 12.18 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/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)