Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",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.0009067/0.0009066, 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.005367/0.005367, 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 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.422/2.422, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8.281 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2539, allocations: 159.6 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.005932/0.2598, allocations: 5.492 MB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.2633, allocations: 1.791 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.2645, allocations: 35.88 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.2652, allocations: 186.3 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008055/0.266, allocations: 146.9 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2671, allocations: 0.5113 MB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.2689, allocations: 1.57 MB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.27, allocations: 0.9516 MB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.2704, allocations: 369.6 kB / 1.07 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.2707, allocations: 448.7 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.096e-05/0.2708, allocations: 36 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.2709, allocations: 36 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2711, allocations: 190.8 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.2714, allocations: 0.5563 MB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.2728, allocations: 2.04 MB / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2728, allocations: 0 / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2728, allocations: 0 / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.2728, allocations: 0 / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.002378/0.2752, allocations: 1.54 MB / 1.074 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2753, allocations: 11.97 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.2754, allocations: 185.7 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.2756, allocations: 167 kB / 1.075 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.2767, allocations: 0.8565 MB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.2768, allocations: 98.62 kB / 1.076 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.2769, allocations: 120.4 kB / 1.076 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.2789, allocations: 1.245 MB / 1.077 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.2789, allocations: 0 / 1.077 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.612e-05/0.279, allocations: 55.94 kB / 1.077 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.2791, allocations: 32 kB / 1.077 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.281, allocations: 0.9889 MB / 1.078 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005042/0.286, allocations: 4.138 MB / 1.082 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.2888, allocations: 1.336 MB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008323/0.2896, allocations: 494.8 kB / 1.084 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.2897, allocations: 8.656 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.2898, allocations: 51.16 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.2898, allocations: 0 / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75): time 0.00222/0.292, allocations: 1.133 MB / 1.085 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.2921, allocations: 188.6 kB / 1.085 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2932, allocations: 1.013 MB / 1.086 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.862e-05/0.2933, allocations: 45.7 kB / 1.086 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/0.2937, allocations: 0.6052 MB / 1.087 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.2939, allocations: 256.3 kB / 1.087 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.294, allocations: 85.67 kB / 1.087 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2941, allocations: 334 kB / 1.087 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.2948, allocations: 353.8 kB / 1.088 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.2957, allocations: 0.5864 MB / 1.088 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.2972, allocations: 0.8414 MB / 1.089 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2972, allocations: 4 kB / 1.089 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001786/0.299, allocations: 1.047 MB / 1.09 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.2991, allocations: 209.6 kB / 1.09 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2991, allocations: 7.984 kB / 1.09 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2991, allocations: 8 kB / 1.09 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.2998, allocations: 203.7 kB / 1.091 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.2999, allocations: 11.94 kB / 1.091 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006561/0.3005, allocations: 202.7 kB / 1.091 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.3006, allocations: 35.98 kB / 1.091 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.3006, allocations: 4 kB / 1.091 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/0.3018, allocations: 0.7339 MB / 1.091 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3018, allocations: 7.984 kB / 1.091 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.3018, allocations: 12.34 kB / 1.092 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.3024, allocations: 175.7 kB / 1.092 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3024, allocations: 11.94 kB / 1.092 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.3029, allocations: 143 kB / 1.092 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.3029, allocations: 32 kB / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (boxWitPreIndDam.conCoo.con1.y,boxWitPreIndDam.conHea.con1.y,boxWitExpDam.conDam.con1.y,boxWitExpDam.conCoo.con1.y,boxWitExpDam.conHea.con1.y,boxWitPreIndDam.hysWitHol.y,$PRE.boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y,$PRE.boxWitExpDam.hysWitHol.y,boxWitPreIndDam.greThr.y,boxWitExpDam.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * 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.0004494/0.3034, allocations: 372.9 kB / 1.092 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3035, allocations: 118.4 kB / 1.092 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.3052, allocations: 0.8958 MB / 1.093 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.3052, allocations: 8 kB / 1.093 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3053, allocations: 4 kB / 1.093 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3053, allocations: 3.984 kB / 1.093 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.3081, allocations: 2.087 MB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3081, allocations: 0 / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.3088, allocations: 167.8 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.3088, allocations: 8 kB / 1.095 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.3088, allocations: 19.98 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3088, allocations: 4 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3088, allocations: 0 / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.3111, allocations: 1.376 MB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.3113, allocations: 207.5 kB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.3114, allocations: 23.92 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.3119, allocations: 103.9 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.312, allocations: 48.58 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.3121, allocations: 32.11 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008095/0.3129, allocations: 0.6914 MB / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3129, allocations: 0 / 1.098 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008231/0.3137, allocations: 402.2 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (boxWitExpDam.conHea.I.y,boxWitExpDam.conCoo.I.y,boxWitExpDam.conDam.I.y,boxWitPreIndDam.conHea.I.y,boxWitPreIndDam.conCoo.I.y) * Number of discrete variables: 2 (boxWitExpDam.hysWitHol.y,boxWitPreIndDam.hysWitHol.y) * Number of discrete states: 2 (boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002618/0.3164, allocations: 1.967 MB / 1.1 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002195/0.3186, allocations: 1.236 MB / 1.101 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3186, allocations: 0 / 1.101 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.3193, allocations: 408.5 kB / 1.102 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3204, allocations: 229.7 kB / 1.102 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.3343, allocations: 10.1 MB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.335, allocations: 1.104 MB / 1.113 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005238/0.3355, allocations: 136 kB / 1.113 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/0.3361, allocations: 495.2 kB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/0.3361, allocations: 0 / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.533/1.869, allocations: 20.42 MB / 1.133 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.869, allocations: 221.4 kB / 1.134 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/4.202, allocations: 3.5 kB / 1.134 GB, free: 7.055 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)