Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.178/2.178, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 199 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.5 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.12 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2498, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002936/0.2528, allocations: 2.033 MB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.2554, allocations: 2.52 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.2556, allocations: 7.938 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.2569, allocations: 476.2 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.257, allocations: 55.72 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.2577, allocations: 211.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.258, allocations: 298.2 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.2582, allocations: 104.6 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.2584, allocations: 91.53 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2586, allocations: 135.3 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.2586, allocations: 4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.2591, allocations: 307.5 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.2592, allocations: 95.61 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2593, allocations: 202.5 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.26, allocations: 0.7632 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.26, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.122e-06/0.26, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.26, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 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.0008737/0.2609, allocations: 0.8372 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2609, allocations: 15.98 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.261, allocations: 60.19 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2613, allocations: 364.4 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2613, allocations: 12.36 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.2613, allocations: 12.12 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2615, allocations: 125.6 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2616, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2616, allocations: 4 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2616, allocations: 4 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.2617, allocations: 91.95 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.2623, allocations: 0.5392 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2625, allocations: 114.6 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.2625, allocations: 60.98 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.2626, allocations: 11.98 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.2628, allocations: 129.1 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.2628, allocations: 3.938 kB / 1.228 GB, free: 107.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0003726/0.2632, allocations: 298.9 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.2632, allocations: 81.11 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.2638, allocations: 0.7697 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2639, allocations: 29.7 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.264, allocations: 272.2 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.264, allocations: 23.7 kB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.2641, allocations: 33.66 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.2641, allocations: 310 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.2642, allocations: 51.95 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.2643, allocations: 47.92 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.2644, allocations: 160.2 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2644, allocations: 7.938 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002301/0.2646, allocations: 262.5 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.2647, allocations: 34.8 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2647, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2647, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.2648, allocations: 11.98 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.2648, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.2649, allocations: 19.91 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2649, allocations: 8 kB / 1.23 GB, free: 104.9 MB / 0.823 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 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * 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.0002121/0.2651, allocations: 341.5 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.2652, allocations: 59.25 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.2655, allocations: 296.6 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2655, allocations: 0 / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2655, allocations: 0 / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2655, allocations: 3.984 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.2658, allocations: 369.3 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2658, allocations: 0 / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.2658, allocations: 8 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2658, allocations: 0 / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2659, allocations: 11.98 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2659, allocations: 4 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2659, allocations: 0 / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.2664, allocations: 1.042 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2666, allocations: 140.3 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.2666, allocations: 8 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.2667, allocations: 11.98 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.2668, allocations: 7.938 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.2668, allocations: 7.984 kB / 1.232 GB, free: 102.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004544/0.2673, allocations: 0.5614 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2673, allocations: 0 / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000466/0.2677, allocations: 120 kB / 1.233 GB, free: 101.8 MB / 0.823 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.0003416/0.2681, allocations: 200.9 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.2683, allocations: 215.4 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2683, allocations: 0 / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.2684, allocations: 143.4 kB / 1.233 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.2689, allocations: 103 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.27, allocations: 1.272 MB / 1.235 GB, free: 99.77 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.2704, allocations: 0.9666 MB / 1.236 GB, free: 98.78 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.494e-05/0.2705, allocations: 17.56 kB / 1.236 GB, free: 98.77 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.2705, allocations: 15.44 kB / 1.236 GB, free: 98.75 MB / 0.823 GB Notification: Performance of SimCode: time 2.1e-07/0.2705, allocations: 0 / 1.236 GB, free: 98.75 MB / 0.823 GB Notification: Performance of Templates: time 0.008405/0.2789, allocations: 5.062 MB / 1.241 GB, free: 93.77 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)