Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.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 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: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002037/0.002037, allocations: 193.3 kB / 16.14 MB, free: 6.703 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.304/1.304, allocations: 205.1 MB / 222 MB, free: 4.742 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.64/1.64, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001278/0.001278, allocations: 62.34 kB / 0.6708 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2243, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.004338/0.2287, allocations: 3.235 MB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2303, allocations: 0.7998 MB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.2306, allocations: 11.94 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.2308, allocations: 75.31 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.2311, allocations: 59.52 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.2316, allocations: 235.7 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005907/0.2322, allocations: 0.6612 MB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.2327, allocations: 401.7 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.2329, allocations: 210.9 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2332, allocations: 258.5 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.2333, allocations: 36 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.2333, allocations: 32 kB / 0.7885 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.2334, allocations: 119.5 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.2337, allocations: 282.2 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.2343, allocations: 0.9035 MB / 0.7898 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2344, allocations: 0 / 0.7898 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2344, allocations: 0 / 0.7898 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.2344, allocations: 0 / 0.7898 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001608/0.236, allocations: 0.9509 MB / 0.7907 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.236, allocations: 8.031 kB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.2362, allocations: 76 kB / 0.7908 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.2368, allocations: 495.1 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.2369, allocations: 41.69 kB / 0.7913 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.237, allocations: 52.38 kB / 0.7914 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.238, allocations: 0.5464 MB / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.238, allocations: 3.938 kB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.2381, allocations: 20 kB / 0.7919 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.2381, allocations: 19.94 kB / 0.7919 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008867/0.239, allocations: 427.7 kB / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.2415, allocations: 1.857 MB / 0.7941 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.2428, allocations: 486.4 kB / 0.7946 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.2432, allocations: 200.8 kB / 0.7948 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.2433, allocations: 8 kB / 0.7948 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2433, allocations: 38.5 kB / 0.7948 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.2433, allocations: 0 / 0.7948 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.00115/0.2445, allocations: 0.4897 MB / 0.7953 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.2446, allocations: 106.8 kB / 0.7954 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005905/0.2452, allocations: 0.5185 MB / 0.7959 GB, free: 128 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.2452, allocations: 33.7 kB / 0.796 GB, free: 88 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.2455, allocations: 316 kB / 0.7963 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/0.2456, allocations: 107 kB / 0.7964 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2457, allocations: 70.06 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2459, allocations: 362.8 kB / 0.7968 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2462, allocations: 154.3 kB / 0.7969 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.2466, allocations: 252.3 kB / 0.7972 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/0.2473, allocations: 358.4 kB / 0.7975 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2474, allocations: 0 / 0.7975 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008904/0.2482, allocations: 464.1 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2483, allocations: 7.938 kB / 0.798 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2483, allocations: 4 kB / 0.798 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2483, allocations: 0 / 0.798 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.2487, allocations: 87.88 kB / 0.798 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2487, allocations: 4 kB / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.249, allocations: 79.45 kB / 0.7981 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.249, allocations: 12 kB / 0.7981 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004051/0.2494, allocations: 269.4 kB / 0.7984 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003283/0.2498, allocations: 227.2 kB / 0.7986 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005104/0.2503, allocations: 303 kB / 0.7989 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.2503, allocations: 0 / 0.7989 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007157/0.251, allocations: 412.1 kB / 0.7993 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2511, allocations: 8 kB / 0.7993 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.2511, allocations: 0 / 0.7993 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.67e-06/0.2511, allocations: 7.938 kB / 0.7993 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.2514, allocations: 71.84 kB / 0.7994 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.2514, allocations: 7.984 kB / 0.7994 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.2516, allocations: 55.94 kB / 0.7994 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.2517, allocations: 16 kB / 0.7995 GB, free: 12.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,vavBoxCon.hysWitHol.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001789/0.2519, allocations: 196.2 kB / 0.7996 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.252, allocations: 63.27 kB / 0.7997 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/0.2528, allocations: 401.4 kB / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2528, allocations: 4 kB / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2528, allocations: 0 / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2528, allocations: 0 / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.2535, allocations: 0.5557 MB / 0.8006 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2535, allocations: 0 / 0.8006 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.2538, allocations: 75.95 kB / 0.8007 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2538, allocations: 7.938 kB / 0.8007 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.2538, allocations: 8 kB / 0.8007 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2539, allocations: 4 kB / 0.8007 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2539, allocations: 3.984 kB / 0.8007 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.2551, allocations: 0.6364 MB / 0.8013 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.2552, allocations: 136.4 kB / 0.8015 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.2552, allocations: 15.94 kB / 0.8015 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.2555, allocations: 31.95 kB / 0.8015 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.2556, allocations: 23.97 kB / 0.8015 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.2556, allocations: 11.98 kB / 0.8016 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004086/0.256, allocations: 378.9 kB / 0.8019 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.256, allocations: 0 / 0.8019 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005387/0.2566, allocations: 175.2 kB / 0.8021 GB, free: 9.551 MB / 0.6231 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: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0001325/0.2567, allocations: 103.2 kB / 0.8022 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.2579, allocations: 0.5311 MB / 0.8027 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2579, allocations: 0 / 0.8027 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.2582, allocations: 164.7 kB / 0.8029 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.2589, allocations: 100 kB / 0.803 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.2605, allocations: 1.107 MB / 0.804 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.261, allocations: 0.8588 MB / 0.8049 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002395/0.2612, allocations: 56.25 kB / 0.8049 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2613, allocations: 39.42 kB / 0.805 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.2613, allocations: 0 / 0.805 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of Templates: time 0.009172/0.2705, allocations: 4.794 MB / 0.8096 GB, free: 1.781 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)