Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009815/0.0009818, allocations: 177 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007401/0.0007402, allocations: 90.28 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 12.22 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1917, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.002649/0.1944, allocations: 2.977 MB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1958, allocations: 1.088 MB / 0.9002 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.196, allocations: 15.94 kB / 0.9002 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1963, allocations: 79.3 kB / 0.9003 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1964, allocations: 55.53 kB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1968, allocations: 227.7 kB / 0.9005 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.1972, allocations: 0.6294 MB / 0.9011 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.1975, allocations: 316.5 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1977, allocations: 151 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1978, allocations: 186.7 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.1979, allocations: 16 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.1979, allocations: 15.94 kB / 0.9018 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.198, allocations: 75.52 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1981, allocations: 214.4 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.1985, allocations: 0.7666 MB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1985, allocations: 3.938 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1985, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1985, allocations: 0 / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00103/0.1995, allocations: 0.8028 MB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1996, allocations: 8.031 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.697e-05/0.1997, allocations: 90.7 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.1997, allocations: 76.03 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.2002, allocations: 454.9 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2002, allocations: 37.34 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.2003, allocations: 48.38 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.201, allocations: 0.5181 MB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2011, allocations: 3.938 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.2011, allocations: 20 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2011, allocations: 16 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.2018, allocations: 423.7 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.2037, allocations: 2.037 MB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.2044, allocations: 391.6 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.2047, allocations: 196.5 kB / 0.9078 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.2047, allocations: 8.234 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.2047, allocations: 34.8 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.2048, allocations: 0 / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.0008934/0.2057, allocations: 489.1 kB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2057, allocations: 110.8 kB / 0.9084 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004156/0.2061, allocations: 0.498 MB / 0.9089 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.2062, allocations: 33.64 kB / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2063, allocations: 291.8 kB / 0.9092 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.2063, allocations: 90.78 kB / 0.9093 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.2064, allocations: 33.7 kB / 0.9093 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.2065, allocations: 366.7 kB / 0.9097 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.2067, allocations: 152.6 kB / 0.9098 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.2071, allocations: 225.6 kB / 0.91 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.2076, allocations: 344 kB / 0.9104 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2076, allocations: 0 / 0.9104 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006713/0.2083, allocations: 456.5 kB / 0.9108 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.2084, allocations: 123.2 kB / 0.9109 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2084, allocations: 4.062 kB / 0.9109 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2084, allocations: 4 kB / 0.9109 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.2087, allocations: 83.83 kB / 0.911 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2087, allocations: 4 kB / 0.911 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.2089, allocations: 83.52 kB / 0.9111 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.209, allocations: 8 kB / 0.9111 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-06/0.209, allocations: 4 kB / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004519/0.2094, allocations: 307.5 kB / 0.9114 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.2095, allocations: 0 / 0.9114 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/0.2095, allocations: 4 kB / 0.9114 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.2097, allocations: 75.89 kB / 0.9115 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.2097, allocations: 128 / 0.9115 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.2099, allocations: 59.58 kB / 0.9115 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2099, allocations: 15.94 kB / 0.9115 GB, free: 51.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001662/0.2101, allocations: 265.6 kB / 0.9118 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.2102, allocations: 43.44 kB / 0.9118 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006604/0.2108, allocations: 390.4 kB / 0.9122 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2108, allocations: 4 kB / 0.9122 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2108, allocations: 0 / 0.9122 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2109, allocations: 0 / 0.9122 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.2113, allocations: 0.5205 MB / 0.9127 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2113, allocations: 0 / 0.9127 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.2115, allocations: 75.89 kB / 0.9128 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2115, allocations: 0 / 0.9128 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2116, allocations: 8 kB / 0.9128 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2116, allocations: 3.938 kB / 0.9128 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2116, allocations: 0 / 0.9128 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008875/0.2125, allocations: 0.6443 MB / 0.9134 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.2126, allocations: 136.4 kB / 0.9136 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.2126, allocations: 4 kB / 0.9136 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.2128, allocations: 35.97 kB / 0.9136 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.2129, allocations: 24.03 kB / 0.9136 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2129, allocations: 8 kB / 0.9136 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002904/0.2132, allocations: 358.9 kB / 0.914 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2132, allocations: 0 / 0.914 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003923/0.2136, allocations: 155.4 kB / 0.9141 GB, free: 49.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001069/0.2147, allocations: 1.173 MB / 0.9153 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008181/0.2155, allocations: 0.5043 MB / 0.9158 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2155, allocations: 3.938 kB / 0.9158 GB, free: 47.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.2158, allocations: 167.9 kB / 0.9159 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.2164, allocations: 100.6 kB / 0.916 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.2213, allocations: 4.49 MB / 0.9204 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2216, allocations: 0.8428 MB / 0.9212 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.2218, allocations: 55.45 kB / 0.9213 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.222, allocations: 191.4 kB / 0.9215 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/0.222, allocations: 0 / 0.9215 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.281/0.503, allocations: 8.801 MB / 0.9301 GB, free: 32.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.5033, allocations: 230.1 kB / 0.9303 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.73, allocations: 0 / 0.9303 GB, free: 32.69 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)