Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.308/2.308, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001392, allocations: 182.6 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.519/2.519, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 96.42 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 15.72 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003895/0.2104, allocations: 2.725 MB / 0.9017 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002555/0.213, allocations: 1.05 MB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005501/0.2136, allocations: 11.94 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.214, allocations: 75.3 kB / 0.9028 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002576/0.2142, allocations: 51.53 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.2148, allocations: 143.7 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.2155, allocations: 0.6138 MB / 0.9036 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005829/0.2161, allocations: 322.2 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.2164, allocations: 143.1 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.2166, allocations: 174.8 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.2167, allocations: 16 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.2168, allocations: 12 kB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.2168, allocations: 67.58 kB / 0.9043 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.2169, allocations: 113.4 kB / 0.9044 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.2176, allocations: 0.6625 MB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2177, allocations: 4 kB / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2177, allocations: 0 / 0.905 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.2177, allocations: 3.938 kB / 0.9051 GB, free: 59.2 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.001875/0.2196, allocations: 0.8104 MB / 0.9058 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.2196, allocations: 12.03 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.2198, allocations: 68.09 kB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.2206, allocations: 447.2 kB / 0.9063 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.2206, allocations: 29.38 kB / 0.9064 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/0.2207, allocations: 48.38 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.2221, allocations: 0.5144 MB / 0.9069 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.2221, allocations: 3.938 kB / 0.9069 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.2222, allocations: 20 kB / 0.9069 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.2222, allocations: 12 kB / 0.907 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.2236, allocations: 419.7 kB / 0.9074 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.2271, allocations: 2.037 MB / 0.9093 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2285, allocations: 393.6 kB / 0.9097 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.2292, allocations: 203.2 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.2293, allocations: 4.234 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2293, allocations: 42.8 kB / 0.91 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.477e-06/0.2293, allocations: 0 / 0.91 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001817/0.2311, allocations: 491.8 kB / 0.9104 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.2312, allocations: 106.8 kB / 0.9105 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/0.232, allocations: 0.4904 MB / 0.911 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/0.2321, allocations: 33.7 kB / 0.911 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.2323, allocations: 287.8 kB / 0.9113 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.2324, allocations: 90.56 kB / 0.9114 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.2325, allocations: 8 kB / 0.9114 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2326, allocations: 362.8 kB / 0.9118 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000588/0.2332, allocations: 144.6 kB / 0.9119 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.2338, allocations: 221.6 kB / 0.9121 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006084/0.2344, allocations: 175.5 kB / 0.9123 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.2344, allocations: 4 kB / 0.9123 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001457/0.2359, allocations: 432.8 kB / 0.9127 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.236, allocations: 128.7 kB / 0.9128 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.236, allocations: 0 / 0.9128 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.2361, allocations: 4 kB / 0.9128 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.2367, allocations: 87.89 kB / 0.9129 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2367, allocations: 3.984 kB / 0.9129 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.2373, allocations: 71.55 kB / 0.913 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.2373, allocations: 15.94 kB / 0.913 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2374, allocations: 4 kB / 0.913 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000927/0.2383, allocations: 311.5 kB / 0.9133 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2383, allocations: 0 / 0.9133 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.2383, allocations: 12.06 kB / 0.9133 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.2389, allocations: 71.89 kB / 0.9134 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2389, allocations: 0 / 0.9134 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.2393, allocations: 55.58 kB / 0.9134 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2394, allocations: 11.98 kB / 0.9134 GB, free: 50.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.2398, allocations: 269 kB / 0.9137 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2399, allocations: 47.38 kB / 0.9137 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2412, allocations: 392.2 kB / 0.9141 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2412, allocations: 0 / 0.9141 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2412, allocations: 11.94 kB / 0.9141 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.2412, allocations: 0 / 0.9141 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.242, allocations: 0.5165 MB / 0.9146 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.242, allocations: 0 / 0.9146 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.2426, allocations: 67.95 kB / 0.9147 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2426, allocations: 4 kB / 0.9147 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.2426, allocations: 4 kB / 0.9147 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.2427, allocations: 8 kB / 0.9147 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2427, allocations: 3.938 kB / 0.9147 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.2445, allocations: 0.6249 MB / 0.9153 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.2447, allocations: 140.4 kB / 0.9155 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.2448, allocations: 4 kB / 0.9155 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.2453, allocations: 40.03 kB / 0.9155 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.2454, allocations: 15.97 kB / 0.9155 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.2454, allocations: 12 kB / 0.9155 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005553/0.246, allocations: 354.9 kB / 0.9159 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.246, allocations: 0 / 0.9159 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006913/0.2467, allocations: 151.4 kB / 0.916 GB, free: 47.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001468/0.2468, allocations: 107.2 kB / 0.9161 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.2486, allocations: 0.5 MB / 0.9166 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2486, allocations: 0 / 0.9166 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.2492, allocations: 163.9 kB / 0.9168 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2503, allocations: 120.9 kB / 0.9169 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.2523, allocations: 0.9763 MB / 0.9178 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.2527, allocations: 0.8432 MB / 0.9186 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003902/0.2531, allocations: 55.38 kB / 0.9187 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.2532, allocations: 39.42 kB / 0.9187 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.212e-06/0.2532, allocations: 0 / 0.9187 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.01323/0.2665, allocations: 4.416 MB / 0.923 GB, free: 40.32 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)