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.412/1.412, allocations: 252 MB / 268 MB, free: 10.87 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.0009991/0.0009991, allocations: 171.1 kB / 327.6 MB, free: 2.094 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.726/1.726, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008408/0.0008408, allocations: 85.98 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 11.25 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002014/0.2088, allocations: 1.7 MB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.2115, allocations: 2.532 MB / 0.9056 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2116, allocations: 7.938 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.2129, allocations: 478.2 kB / 0.9061 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.213, allocations: 63.72 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.2137, allocations: 202 kB / 0.9063 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.214, allocations: 305.6 kB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.2142, allocations: 84.72 kB / 0.9067 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.2143, allocations: 87.52 kB / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2145, allocations: 127.2 kB / 0.9069 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.2145, allocations: 4 kB / 0.9069 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.215, allocations: 303.6 kB / 0.9072 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.2151, allocations: 95.55 kB / 0.9073 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.2152, allocations: 224.3 kB / 0.9075 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.2157, allocations: 0.5924 MB / 0.9081 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2157, allocations: 3.938 kB / 0.9081 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2157, allocations: 0 / 0.9081 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.2157, allocations: 0 / 0.9081 GB, free: 56.53 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.0007609/0.2165, allocations: 0.7677 MB / 0.9088 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2165, allocations: 8.031 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.2166, allocations: 68.09 kB / 0.9089 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2169, allocations: 356.5 kB / 0.9092 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2169, allocations: 8.375 kB / 0.9092 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.2169, allocations: 12.38 kB / 0.9093 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.2171, allocations: 137.2 kB / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2171, allocations: 0 / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2172, allocations: 4 kB / 0.9094 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2172, allocations: 4 kB / 0.9094 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.2173, allocations: 95.95 kB / 0.9095 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.2179, allocations: 0.547 MB / 0.91 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.2181, allocations: 102.5 kB / 0.9101 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.2181, allocations: 64.97 kB / 0.9102 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.2182, allocations: 4.188 kB / 0.9102 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.2184, allocations: 141 kB / 0.9103 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.2184, allocations: 0 / 0.9103 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003656/0.2188, allocations: 302.5 kB / 0.9106 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2188, allocations: 89.09 kB / 0.9107 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.2194, allocations: 0.758 MB / 0.9114 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.2195, allocations: 29.7 kB / 0.9115 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.2196, allocations: 276.3 kB / 0.9117 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.2197, allocations: 23.66 kB / 0.9117 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.2197, allocations: 4 kB / 0.9117 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.2197, allocations: 306 kB / 0.912 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.2198, allocations: 55.89 kB / 0.9121 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.2199, allocations: 51.97 kB / 0.9121 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.22, allocations: 148.2 kB / 0.9123 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.22, allocations: 4 kB / 0.9123 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002276/0.2202, allocations: 266.5 kB / 0.9125 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.2203, allocations: 40.5 kB / 0.9126 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2203, allocations: 0 / 0.9126 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2203, allocations: 4 kB / 0.9126 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.2204, allocations: 11.94 kB / 0.9126 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.2204, allocations: 0 / 0.9126 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2205, allocations: 15.89 kB / 0.9126 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.2205, allocations: 4 kB / 0.9126 GB, free: 51.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.2208, allocations: 333.3 kB / 0.9129 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.2208, allocations: 67.17 kB / 0.913 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003358/0.2211, allocations: 289.1 kB / 0.9133 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2212, allocations: 4 kB / 0.9133 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2212, allocations: 0 / 0.9133 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2212, allocations: 0 / 0.9133 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.2214, allocations: 373.3 kB / 0.9136 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2215, allocations: 7.875 kB / 0.9136 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.2215, allocations: 11.94 kB / 0.9136 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2215, allocations: 0 / 0.9136 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2215, allocations: 4 kB / 0.9137 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2215, allocations: 0 / 0.9137 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2215, allocations: 0 / 0.9137 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.2218, allocations: 310 kB / 0.9139 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.2219, allocations: 140.3 kB / 0.9141 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.222, allocations: 11.98 kB / 0.9141 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2221, allocations: 8.188 kB / 0.9141 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2221, allocations: 11.92 kB / 0.9141 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2222, allocations: 4 kB / 0.9141 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004863/0.2227, allocations: 0.5653 MB / 0.9147 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2227, allocations: 4 kB / 0.9147 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003437/0.223, allocations: 120 kB / 0.9148 GB, free: 49.26 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 (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.0003165/0.2233, allocations: 196 kB / 0.915 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.2236, allocations: 203.3 kB / 0.9152 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2236, allocations: 0 / 0.9152 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.2237, allocations: 147.3 kB / 0.9153 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.2242, allocations: 102.8 kB / 0.9154 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2254, allocations: 1.209 MB / 0.9166 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.2257, allocations: 0.9624 MB / 0.9175 GB, free: 46.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.2258, allocations: 19.42 kB / 0.9175 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.2258, allocations: 0 / 0.9175 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.007052/0.2328, allocations: 6.189 MB / 0.9236 GB, free: 40.19 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)