Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 289.7 MB / 302.3 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 181.8 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.2 MB / 0.6309 GB, free: 11.72 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001046, allocations: 93.42 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.376e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2942, allocations: 116.3 MB / 0.9798 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9075/1.202, allocations: 145.9 MB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.202, allocations: 98.66 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03032/1.232, allocations: 12.9 MB / 1.135 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.874e-06/1.233, allocations: 4.656 kB / 1.135 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.654e-05/1.233, allocations: 4 kB / 1.135 GB, free: 32.07 MB / 0.7448 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.0007129/1.233, allocations: 0.7108 MB / 1.136 GB, free: 31.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.233, allocations: 8.031 kB / 1.136 GB, free: 31.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/1.233, allocations: 66.91 kB / 1.136 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/1.234, allocations: 340.9 kB / 1.136 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/1.234, allocations: 7.906 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/1.234, allocations: 15.58 kB / 1.136 GB, free: 30.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/1.234, allocations: 129.8 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.234, allocations: 0 / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.234, allocations: 3.188 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/1.234, allocations: 8 kB / 1.136 GB, free: 30.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/1.234, allocations: 102.5 kB / 1.136 GB, free: 30.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/1.235, allocations: 0.5465 MB / 1.137 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/1.235, allocations: 117.2 kB / 1.137 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/1.235, allocations: 71.64 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/1.235, allocations: 8 kB / 1.137 GB, free: 30.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/1.235, allocations: 145.6 kB / 1.137 GB, free: 30.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/1.235, allocations: 0 / 1.137 GB, free: 30.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0004114/1.236, allocations: 273.8 kB / 1.137 GB, free: 29.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.236, allocations: 86.55 kB / 1.138 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/1.237, allocations: 0.6694 MB / 1.138 GB, free: 29.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/1.237, allocations: 30.5 kB / 1.138 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/1.237, allocations: 281.5 kB / 1.138 GB, free: 29.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/1.237, allocations: 19.34 kB / 1.138 GB, free: 29.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/1.237, allocations: 3.75 kB / 1.138 GB, free: 29.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.442e-05/1.237, allocations: 313.4 kB / 1.139 GB, free: 28.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.005e-05/1.237, allocations: 53.23 kB / 1.139 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/1.237, allocations: 56.78 kB / 1.139 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/1.237, allocations: 79.23 kB / 1.139 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.237, allocations: 1.219 kB / 1.139 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003147/1.238, allocations: 279.3 kB / 1.139 GB, free: 28.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/1.238, allocations: 39.22 kB / 1.139 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.238, allocations: 3.953 kB / 1.139 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/1.238, allocations: 3.938 kB / 1.139 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/1.238, allocations: 9.828 kB / 1.139 GB, free: 28.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.238, allocations: 0 / 1.139 GB, free: 28.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.238, allocations: 18.2 kB / 1.139 GB, free: 28.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/1.238, allocations: 4.609 kB / 1.139 GB, free: 28.4 MB / 0.7448 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete 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 7.946e-05/1.238, allocations: 141.5 kB / 1.139 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/1.238, allocations: 63.25 kB / 1.14 GB, free: 28.19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/1.239, allocations: 321.7 kB / 1.14 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.239, allocations: 4.562 kB / 1.14 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.239, allocations: 4 kB / 1.14 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.239, allocations: 0.5625 kB / 1.14 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/1.239, allocations: 366.5 kB / 1.14 GB, free: 27.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.239, allocations: 10.91 kB / 1.14 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/1.239, allocations: 8.547 kB / 1.14 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.239, allocations: 0.5625 kB / 1.14 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/1.239, allocations: 4.75 kB / 1.14 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.239, allocations: 3.938 kB / 1.14 GB, free: 27.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.239, allocations: 4.469 kB / 1.14 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/1.24, allocations: 330 kB / 1.141 GB, free: 27.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.24, allocations: 141.8 kB / 1.141 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/1.24, allocations: 11.66 kB / 1.141 GB, free: 27.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/1.24, allocations: 10.34 kB / 1.141 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/1.24, allocations: 9.859 kB / 1.141 GB, free: 27.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/1.24, allocations: 8.797 kB / 1.141 GB, free: 27.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00063/1.241, allocations: 0.5549 MB / 1.141 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/1.241, allocations: 0 / 1.141 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005732/1.241, allocations: 147.3 kB / 1.141 GB, free: 26.7 MB / 0.7448 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,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * 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.0006205/1.242, allocations: 356.3 kB / 1.142 GB, free: 26.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002571/1.242, allocations: 203.8 kB / 1.142 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.242, allocations: 0 / 1.142 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/1.242, allocations: 144.3 kB / 1.142 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/1.243, allocations: 101.4 kB / 1.142 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/1.244, allocations: 0.7982 MB / 1.143 GB, free: 25.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/1.244, allocations: 0.9728 MB / 1.144 GB, free: 24.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.933e-05/1.244, allocations: 24.08 kB / 1.144 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/1.245, allocations: 16.09 kB / 1.144 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of SimCode: time 1.994e-06/1.245, allocations: 0 / 1.144 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.01547/1.26, allocations: 6.503 MB / 1.15 GB, free: 20.84 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)