Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_10_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.0009089/0.0009089, allocations: 91.77 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.005529/0.005529, allocations: 172.4 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6226, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.006078/0.6287, allocations: 5.486 MB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003823/0.6326, allocations: 1.795 MB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.6339, allocations: 35.88 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007225/0.6346, allocations: 182.3 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009133/0.6355, allocations: 142.9 kB / 1.031 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.6368, allocations: 0.5152 MB / 1.031 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.6389, allocations: 1.57 MB / 1.033 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.6404, allocations: 0.9516 MB / 1.034 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.641, allocations: 369.5 kB / 1.034 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.6414, allocations: 456.7 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.6415, allocations: 36 kB / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.6416, allocations: 36 kB / 1.034 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.6417, allocations: 194.8 kB / 1.035 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.6422, allocations: 0.5447 MB / 1.035 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.6437, allocations: 2.041 MB / 1.037 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6438, allocations: 0 / 1.037 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.073e-06/0.6438, allocations: 0 / 1.037 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.6438, allocations: 0 / 1.037 GB, free: 1.434 MB / 0.7794 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.00266/0.6464, allocations: 1.547 MB / 1.039 GB, free: 15.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6465, allocations: 12.03 kB / 1.039 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.6467, allocations: 181.6 kB / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.6469, allocations: 167 kB / 1.039 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.6481, allocations: 0.8449 MB / 1.04 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.6482, allocations: 98.75 kB / 1.04 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.6484, allocations: 124.4 kB / 1.04 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.6506, allocations: 1.245 MB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.6506, allocations: 0 / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.6507, allocations: 52 kB / 1.041 GB, free: 13.01 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.6508, allocations: 32 kB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.6528, allocations: 0.9967 MB / 1.042 GB, free: 11.98 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.6586, allocations: 4.15 MB / 1.046 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.6616, allocations: 1.335 MB / 1.048 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009027/0.6625, allocations: 494.8 kB / 1.048 GB, free: 5.863 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.6626, allocations: 16.58 kB / 1.048 GB, free: 5.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.6627, allocations: 47.16 kB / 1.048 GB, free: 5.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=75): time 2.765e-06/0.6627, allocations: 0 / 1.048 GB, free: 5.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=75): time 0.002453/0.6651, allocations: 1.129 MB / 1.049 GB, free: 4.656 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.6652, allocations: 192.6 kB / 1.049 GB, free: 4.426 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.6666, allocations: 1.019 MB / 1.05 GB, free: 3.391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/0.6667, allocations: 41.7 kB / 1.05 GB, free: 3.344 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.6672, allocations: 0.6092 MB / 1.051 GB, free: 2.727 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.6674, allocations: 256.2 kB / 1.051 GB, free: 2.473 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.6675, allocations: 77.67 kB / 1.051 GB, free: 2.391 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6677, allocations: 334 kB / 1.052 GB, free: 2.059 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/0.6684, allocations: 361.8 kB / 1.052 GB, free: 1.703 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009434/0.6694, allocations: 0.5826 MB / 1.053 GB, free: 1.027 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.671, allocations: 0.8453 MB / 1.053 GB, free: 132 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.671, allocations: 3.984 kB / 1.053 GB, free: 128 kB / 0.795 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002031/0.673, allocations: 1.035 MB / 1.054 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.6732, allocations: 217.9 kB / 1.055 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6732, allocations: 7.938 kB / 1.055 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.6732, allocations: 12 kB / 1.055 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007423/0.674, allocations: 203.7 kB / 1.055 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.674, allocations: 8 kB / 1.055 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.6747, allocations: 198.8 kB / 1.055 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.6748, allocations: 32 kB / 1.055 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.6748, allocations: 4 kB / 1.055 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/0.6761, allocations: 0.7459 MB / 1.056 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6761, allocations: 4 kB / 1.056 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.6761, allocations: 11.94 kB / 1.056 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.6767, allocations: 167.7 kB / 1.056 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.6767, allocations: 11.98 kB / 1.056 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.6773, allocations: 147.1 kB / 1.056 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.6774, allocations: 32 kB / 1.056 GB, free: 13.24 MB / 0.8106 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.0006118/0.678, allocations: 377.4 kB / 1.057 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.6782, allocations: 114.6 kB / 1.057 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.68, allocations: 0.884 MB / 1.058 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.68, allocations: 8 kB / 1.058 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.68, allocations: 0 / 1.058 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.68, allocations: 3.984 kB / 1.058 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.6831, allocations: 2.095 MB / 1.06 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6831, allocations: 0 / 1.06 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006693/0.6838, allocations: 171.8 kB / 1.06 GB, free: 9.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.6838, allocations: 4 kB / 1.06 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.6839, allocations: 19.98 kB / 1.06 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.6839, allocations: 4 kB / 1.06 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6839, allocations: 0 / 1.06 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.6863, allocations: 1.392 MB / 1.061 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.6865, allocations: 195.6 kB / 1.061 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6866, allocations: 19.98 kB / 1.061 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.6872, allocations: 99.86 kB / 1.061 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.6873, allocations: 52.58 kB / 1.062 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.6873, allocations: 23.98 kB / 1.062 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008617/0.6882, allocations: 0.6953 MB / 1.062 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6882, allocations: 0 / 1.062 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009665/0.6892, allocations: 410.2 kB / 1.063 GB, free: 6.586 MB / 0.8106 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.002786/0.692, allocations: 1.963 MB / 1.065 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.6943, allocations: 1.225 MB / 1.066 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6943, allocations: 0.5 kB / 1.066 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00076/0.6951, allocations: 423.5 kB / 1.066 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.6963, allocations: 217.8 kB / 1.066 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.7118, allocations: 10.1 MB / 1.076 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.7126, allocations: 1.097 MB / 1.077 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005918/0.7132, allocations: 143.9 kB / 1.077 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.7138, allocations: 495.3 kB / 1.078 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of SimCode: time 1.153e-06/0.7138, allocations: 0 / 1.078 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03911/0.753, allocations: 20.42 MB / 1.098 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.7532, allocations: 229.9 kB / 1.098 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.996, allocations: 4.062 kB / 1.098 GB, free: 2.113 MB / 0.8419 GB (rm -f Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_10_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)