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: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.5 MB / 267.4 MB, free: 11.12 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.00112/0.00112, allocations: 177.6 kB / 326.5 MB, free: 2.719 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.634/1.634, allocations: 205 MB / 0.5767 GB, free: 21.05 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.0007984/0.0007985, allocations: 89.19 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 12.84 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1987, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003145/0.2019, allocations: 2.97 MB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2039, allocations: 1.088 MB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006751/0.2046, allocations: 15.94 kB / 0.9007 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.205, allocations: 75.31 kB / 0.9008 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2055, allocations: 59.52 kB / 0.9009 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.206, allocations: 223.8 kB / 0.9011 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.2067, allocations: 0.6294 MB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.2072, allocations: 324.4 kB / 0.902 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.2074, allocations: 155 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2076, allocations: 178.7 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.2077, allocations: 16 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.2078, allocations: 12 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.2078, allocations: 79.5 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.208, allocations: 218.4 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.2084, allocations: 0.7588 MB / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2085, allocations: 0 / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2085, allocations: 0 / 0.9034 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.2085, allocations: 8 kB / 0.9034 GB, free: 61.38 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.001202/0.2097, allocations: 0.8065 MB / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2098, allocations: 11.97 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.2099, allocations: 68.09 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.2104, allocations: 458.8 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2105, allocations: 37.38 kB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.2105, allocations: 40.38 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.2113, allocations: 0.5182 MB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.2113, allocations: 4 kB / 0.9053 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.2114, allocations: 24 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.2114, allocations: 15.98 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000779/0.2122, allocations: 423.7 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.2143, allocations: 2.037 MB / 0.9077 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.215, allocations: 395.5 kB / 0.9081 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.2153, allocations: 190.7 kB / 0.9082 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.2154, allocations: 12.3 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.2154, allocations: 42.73 kB / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.2154, allocations: 0 / 0.9083 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.0009811/0.2164, allocations: 481.1 kB / 0.9088 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.2165, allocations: 110.8 kB / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.217, allocations: 0.4942 MB / 0.9093 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.217, allocations: 33.7 kB / 0.9094 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.2171, allocations: 291.7 kB / 0.9097 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.2172, allocations: 86.72 kB / 0.9097 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.2173, allocations: 37.7 kB / 0.9098 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.2173, allocations: 358.8 kB / 0.9101 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.2176, allocations: 152.6 kB / 0.9103 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.218, allocations: 225.5 kB / 0.9105 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.2185, allocations: 356 kB / 0.9108 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2186, allocations: 3.938 kB / 0.9108 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007169/0.2193, allocations: 448.6 kB / 0.9112 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.2194, allocations: 122.7 kB / 0.9114 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2194, allocations: 4 kB / 0.9114 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.2194, allocations: 0 / 0.9114 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.2197, allocations: 83.89 kB / 0.9115 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2197, allocations: 0 / 0.9115 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.22, allocations: 83.48 kB / 0.9115 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.22, allocations: 8 kB / 0.9115 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.22, allocations: 7.938 kB / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004877/0.2205, allocations: 307.5 kB / 0.9118 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2205, allocations: 4 kB / 0.9118 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.967e-06/0.2205, allocations: 0 / 0.9118 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.2208, allocations: 75.89 kB / 0.9119 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2208, allocations: 12.06 kB / 0.9119 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.221, allocations: 51.62 kB / 0.912 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.221, allocations: 15.98 kB / 0.912 GB, free: 52.19 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.0001808/0.2212, allocations: 257.7 kB / 0.9122 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.2213, allocations: 51.38 kB / 0.9123 GB, free: 51.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.222, allocations: 398.3 kB / 0.9127 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.222, allocations: 0 / 0.9127 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.222, allocations: 0 / 0.9127 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.2221, allocations: 132.4 kB / 0.9128 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.2221, allocations: 4 kB / 0.9128 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.2223, allocations: 43.97 kB / 0.9128 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.2224, allocations: 19.97 kB / 0.9129 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007536/0.2232, allocations: 465.8 kB / 0.9133 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009613/0.2241, allocations: 0.7169 MB / 0.914 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002818/0.2244, allocations: 164 kB / 0.9142 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003093/0.2248, allocations: 362.8 kB / 0.9145 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of Backend: time 4.11e-07/0.2248, allocations: 0 / 0.9145 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009433/0.2257, allocations: 455.7 kB / 0.9149 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001596/0.2273, allocations: 1.486 MB / 0.9164 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.009547/0.2369, allocations: 6.001 MB / 0.9222 GB, free: 41.62 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)