Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009331/0.009331, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001759/0.001759, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.666/1.666, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.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.001454/0.001454, allocations: 75.89 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.216, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004476/0.2206, allocations: 2.114 MB / 0.8301 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003235/0.2238, allocations: 2.489 MB / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.224, allocations: 0 / 0.8326 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.2253, allocations: 0.5055 MB / 0.8331 GB, free: 11.02 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.2257, allocations: 103.5 kB / 0.8332 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.2263, allocations: 209.6 kB / 0.8334 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.2267, allocations: 354.5 kB / 0.8337 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.2269, allocations: 60.72 kB / 0.8338 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.227, allocations: 127.3 kB / 0.8339 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.2272, allocations: 143.2 kB / 0.834 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.2273, allocations: 8 kB / 0.834 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.2274, allocations: 59.95 kB / 0.8341 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.2276, allocations: 127.5 kB / 0.8342 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2278, allocations: 214.5 kB / 0.8344 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.2284, allocations: 0.6812 MB / 0.8351 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2284, allocations: 0 / 0.8351 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2284, allocations: 0 / 0.8351 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.2284, allocations: 0 / 0.8351 GB, free: 8.953 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001187/0.2296, allocations: 0.868 MB / 0.8359 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2297, allocations: 15.97 kB / 0.8359 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.2298, allocations: 68.09 kB / 0.836 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.2303, allocations: 428.2 kB / 0.8364 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2303, allocations: 4.375 kB / 0.8364 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2303, allocations: 20 kB / 0.8364 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.2305, allocations: 100.2 kB / 0.8365 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2306, allocations: 0 / 0.8365 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.2306, allocations: 8 kB / 0.8365 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2306, allocations: 0 / 0.8365 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2307, allocations: 43.97 kB / 0.8366 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.2314, allocations: 0.5044 MB / 0.8371 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.2318, allocations: 106.6 kB / 0.8372 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.2319, allocations: 36.83 kB / 0.8372 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.232, allocations: 0 / 0.8372 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.2322, allocations: 83.47 kB / 0.8373 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2322, allocations: 3.938 kB / 0.8373 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004147/0.2326, allocations: 200.8 kB / 0.8375 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.2327, allocations: 102.8 kB / 0.8376 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.2336, allocations: 0.8834 MB / 0.8385 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.2336, allocations: 29.7 kB / 0.8385 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.2339, allocations: 303.9 kB / 0.8388 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.2339, allocations: 15.81 kB / 0.8388 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.234, allocations: 25.7 kB / 0.8388 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2341, allocations: 313.9 kB / 0.8391 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.937e-05/0.2342, allocations: 31.98 kB / 0.8391 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.2343, allocations: 76.2 kB / 0.8392 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.2345, allocations: 65.7 kB / 0.8393 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2345, allocations: 0 / 0.8393 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002592/0.2347, allocations: 172.7 kB / 0.8394 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2348, allocations: 8.031 kB / 0.8394 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2348, allocations: 0 / 0.8394 GB, free: 4.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2348, allocations: 4 kB / 0.8394 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.2349, allocations: 12 kB / 0.8395 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2349, allocations: 4.172 kB / 0.8395 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.235, allocations: 11.94 kB / 0.8395 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.235, allocations: 3.938 kB / 0.8395 GB, free: 4.168 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0002951/0.2353, allocations: 321.5 kB / 0.8398 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.2354, allocations: 67.14 kB / 0.8399 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2355, allocations: 78 kB / 0.8399 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2355, allocations: 0 / 0.8399 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2355, allocations: 0 / 0.8399 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2355, allocations: 3.938 kB / 0.8399 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.2359, allocations: 389.4 kB / 0.8403 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2359, allocations: 0 / 0.8403 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.236, allocations: 8 kB / 0.8403 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.236, allocations: 0 / 0.8403 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.236, allocations: 0 / 0.8403 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.236, allocations: 4 kB / 0.8403 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.236, allocations: 0 / 0.8403 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.2363, allocations: 204.5 kB / 0.8405 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.2364, allocations: 132.3 kB / 0.8406 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.2365, allocations: 4 kB / 0.8406 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2366, allocations: 7.984 kB / 0.8406 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.2367, allocations: 7.984 kB / 0.8407 GB, free: 2.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2367, allocations: 15.92 kB / 0.8407 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007011/0.2374, allocations: 0.6551 MB / 0.8413 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2374, allocations: 0 / 0.8413 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002877/0.2377, allocations: 56 kB / 0.8414 GB, free: 2.145 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00101/0.2387, allocations: 426.4 kB / 0.8418 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.239, allocations: 71.89 kB / 0.8418 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.239, allocations: 0 / 0.8418 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.2391, allocations: 39.98 kB / 0.8419 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.2397, allocations: 147 kB / 0.842 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.2412, allocations: 1.096 MB / 0.8431 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.2418, allocations: 0.9858 MB / 0.844 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.2419, allocations: 42.59 kB / 0.8441 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.242, allocations: 23.42 kB / 0.8441 GB, free: 15.43 MB / 0.67 GB Notification: Performance of SimCode: time 2.7e-07/0.242, allocations: 3.938 kB / 0.8441 GB, free: 15.43 MB / 0.67 GB Notification: Performance of Templates: time 0.01072/0.2527, allocations: 5.696 MB / 0.8497 GB, free: 9.867 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)