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.SpeedShift.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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 267.6 MB, free: 10.9 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.001079/0.001079, allocations: 182.8 kB / 327.3 MB, free: 2.184 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.817/1.817, allocations: 205.4 MB / 0.5783 GB, free: 20.18 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.0008848/0.0008849, allocations: 86.92 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004324, allocations: 11.59 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2312, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002043/0.2333, allocations: 1.662 MB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.2357, allocations: 2.332 MB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2358, allocations: 4 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.2368, allocations: 458.4 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.2369, allocations: 51.73 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.2376, allocations: 207.9 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.2378, allocations: 274.6 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.238, allocations: 84.7 kB / 0.9058 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.934e-05/0.2381, allocations: 99.52 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.2382, allocations: 115.4 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.2383, allocations: 7.938 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.2386, allocations: 291.5 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.2387, allocations: 91.61 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.2388, allocations: 117.4 kB / 0.9065 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.2392, allocations: 0.5924 MB / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2393, allocations: 0 / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2393, allocations: 0 / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.2393, allocations: 4 kB / 0.9071 GB, free: 57.49 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007884/0.2401, allocations: 0.7675 MB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2401, allocations: 11.97 kB / 0.9078 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.2402, allocations: 67.11 kB / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.2405, allocations: 331.9 kB / 0.9082 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2405, allocations: 8 kB / 0.9082 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.2405, allocations: 12 kB / 0.9082 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2408, allocations: 132.8 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2408, allocations: 0 / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2408, allocations: 4 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2408, allocations: 7.938 kB / 0.9084 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.241, allocations: 96.08 kB / 0.9084 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.2416, allocations: 0.5435 MB / 0.909 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.2417, allocations: 106.5 kB / 0.9091 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.2418, allocations: 60.97 kB / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.2418, allocations: 12.03 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.242, allocations: 129.1 kB / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.242, allocations: 0 / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003736/0.2424, allocations: 294.5 kB / 0.9095 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.2425, allocations: 93.09 kB / 0.9096 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006681/0.2432, allocations: 0.7503 MB / 0.9104 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2432, allocations: 25.7 kB / 0.9104 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2434, allocations: 284.1 kB / 0.9107 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.2434, allocations: 31.64 kB / 0.9107 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.2434, allocations: 0 / 0.9107 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.2435, allocations: 313.9 kB / 0.911 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.2435, allocations: 43.98 kB / 0.911 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.2436, allocations: 47.97 kB / 0.9111 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.188e-05/0.2437, allocations: 74.12 kB / 0.9112 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2437, allocations: 0 / 0.9112 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000233/0.2439, allocations: 266.5 kB / 0.9114 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.244, allocations: 37.69 kB / 0.9114 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.244, allocations: 160 / 0.9114 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.244, allocations: 0 / 0.9114 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.2441, allocations: 12 kB / 0.9115 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2441, allocations: 7.922 kB / 0.9115 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2442, allocations: 15.89 kB / 0.9115 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.2442, allocations: 8 kB / 0.9115 GB, free: 52.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0002462/0.2445, allocations: 335.8 kB / 0.9118 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.2445, allocations: 63.25 kB / 0.9119 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.2449, allocations: 292.6 kB / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2449, allocations: 0 / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2449, allocations: 0 / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2449, allocations: 0 / 0.9121 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.2452, allocations: 377.3 kB / 0.9125 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2452, allocations: 0 / 0.9125 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.2452, allocations: 23.86 kB / 0.9125 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2453, allocations: 0 / 0.9125 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2453, allocations: 4 kB / 0.9125 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2453, allocations: 0 / 0.9125 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2453, allocations: 0 / 0.9125 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.2455, allocations: 298 kB / 0.9128 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.2456, allocations: 144.3 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.2457, allocations: 4 kB / 0.913 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2458, allocations: 16.17 kB / 0.913 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.2459, allocations: 7.938 kB / 0.913 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2459, allocations: 15.97 kB / 0.913 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004774/0.2464, allocations: 0.5575 MB / 0.9135 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2464, allocations: 0 / 0.9135 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003671/0.2467, allocations: 116 kB / 0.9136 GB, free: 50.34 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0003834/0.2471, allocations: 196.5 kB / 0.9138 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.2474, allocations: 207.3 kB / 0.914 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2474, allocations: 0 / 0.914 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2475, allocations: 139.4 kB / 0.9142 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.248, allocations: 104 kB / 0.9143 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2492, allocations: 1.147 MB / 0.9154 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2495, allocations: 0.9624 MB / 0.9163 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.2496, allocations: 19.38 kB / 0.9163 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2496, allocations: 0 / 0.9163 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.006984/0.2566, allocations: 6.238 MB / 0.9224 GB, free: 41.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)