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/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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 252 MB / 268 MB, free: 10.85 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.001075/0.001075, allocations: 176.3 kB / 327.6 MB, free: 2.105 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.792/1.792, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.000865/0.000865, allocations: 74.39 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 14.83 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2321, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002714/0.2348, allocations: 1.82 MB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.2378, allocations: 2.396 MB / 0.9056 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.2381, allocations: 0 / 0.9056 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.2396, allocations: 0.4905 MB / 0.9061 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.24, allocations: 107.6 kB / 0.9062 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.2407, allocations: 196.1 kB / 0.9063 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.2411, allocations: 331.9 kB / 0.9067 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2413, allocations: 64.7 kB / 0.9067 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.2414, allocations: 115.3 kB / 0.9068 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.2416, allocations: 143.2 kB / 0.907 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.2416, allocations: 4 kB / 0.907 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.2418, allocations: 59.89 kB / 0.907 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.242, allocations: 123.5 kB / 0.9072 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.2422, allocations: 232.2 kB / 0.9074 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.2426, allocations: 0.5416 MB / 0.9079 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2426, allocations: 0 / 0.9079 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2426, allocations: 0 / 0.9079 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.2426, allocations: 0 / 0.9079 GB, free: 56.89 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009695/0.2436, allocations: 0.7984 MB / 0.9087 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2436, allocations: 8.031 kB / 0.9087 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.2437, allocations: 72.09 kB / 0.9088 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.2441, allocations: 420.3 kB / 0.9092 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2441, allocations: 4.375 kB / 0.9092 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.2441, allocations: 8.125 kB / 0.9092 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2444, allocations: 104.2 kB / 0.9093 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2444, allocations: 4 kB / 0.9093 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2444, allocations: 0 / 0.9093 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2444, allocations: 0 / 0.9093 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.2445, allocations: 43.97 kB / 0.9093 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.2451, allocations: 0.5238 MB / 0.9098 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.2455, allocations: 102.7 kB / 0.9099 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.2456, allocations: 32.84 kB / 0.91 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.2456, allocations: 3.984 kB / 0.91 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.2458, allocations: 87.41 kB / 0.91 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2458, allocations: 0 / 0.91 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003542/0.2462, allocations: 184.8 kB / 0.9102 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2463, allocations: 118.7 kB / 0.9103 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.2471, allocations: 0.8795 MB / 0.9112 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2471, allocations: 29.69 kB / 0.9112 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.2473, allocations: 300.1 kB / 0.9115 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2473, allocations: 19.7 kB / 0.9115 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.2474, allocations: 4 kB / 0.9115 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.2474, allocations: 313.9 kB / 0.9118 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.2475, allocations: 23.98 kB / 0.9119 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.351e-05/0.2476, allocations: 88.14 kB / 0.9119 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.2477, allocations: 69.69 kB / 0.912 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2477, allocations: 0 / 0.912 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002058/0.2479, allocations: 161.2 kB / 0.9122 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2479, allocations: 8 kB / 0.9122 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.248, allocations: 4.031 kB / 0.9122 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.248, allocations: 0 / 0.9122 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.2481, allocations: 15.98 kB / 0.9122 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2481, allocations: 0 / 0.9122 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2482, allocations: 19.78 kB / 0.9122 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2482, allocations: 4 kB / 0.9122 GB, free: 52.21 MB / 0.6042 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 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,sta.y,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * 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.0002434/0.2485, allocations: 319.4 kB / 0.9125 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.2485, allocations: 63.25 kB / 0.9126 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.75e-05/0.2486, allocations: 70 kB / 0.9126 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2486, allocations: 8 kB / 0.9126 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2486, allocations: 0 / 0.9126 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2487, allocations: 7.969 kB / 0.9127 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.2489, allocations: 389.3 kB / 0.913 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.249, allocations: 0 / 0.913 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.249, allocations: 8 kB / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.249, allocations: 0 / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.249, allocations: 3.984 kB / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.249, allocations: 0 / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.249, allocations: 0 / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.2493, allocations: 204.2 kB / 0.9132 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.2494, allocations: 136.3 kB / 0.9134 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.2494, allocations: 3.984 kB / 0.9134 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2496, allocations: 8 kB / 0.9134 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.2496, allocations: 11.98 kB / 0.9134 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2497, allocations: 7.938 kB / 0.9134 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005893/0.2503, allocations: 0.659 MB / 0.914 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2503, allocations: 4 kB / 0.914 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002695/0.2505, allocations: 52 kB / 0.9141 GB, free: 50.18 MB / 0.6042 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.001011/0.2516, allocations: 425.2 kB / 0.9145 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2518, allocations: 71.91 kB / 0.9146 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2518, allocations: 0 / 0.9146 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.2519, allocations: 35.98 kB / 0.9146 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.2525, allocations: 148.4 kB / 0.9147 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2539, allocations: 1.29 MB / 0.916 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.2543, allocations: 0.9784 MB / 0.917 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.2543, allocations: 23.44 kB / 0.917 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2543, allocations: 0 / 0.917 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.007773/0.2621, allocations: 6.583 MB / 0.9234 GB, free: 40.78 MB / 0.6042 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)