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.443/1.443, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009679/0.0009682, allocations: 182.5 kB / 326.5 MB, free: 2.684 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.711/1.711, allocations: 205 MB / 0.5766 GB, free: 21 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.0008738/0.0008739, allocations: 81.25 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003602, allocations: 14.19 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2088, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002105/0.211, allocations: 1.717 MB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.2137, allocations: 2.571 MB / 0.901 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.2139, allocations: 7.938 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.2152, allocations: 486 kB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.2153, allocations: 47.73 kB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.216, allocations: 213.6 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003058/0.2163, allocations: 297.1 kB / 0.902 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2165, allocations: 88.72 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2166, allocations: 87.52 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2168, allocations: 127.2 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.2168, allocations: 4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004258/0.2173, allocations: 295.6 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.959e-05/0.2174, allocations: 95.53 kB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2175, allocations: 198.6 kB / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.218, allocations: 0.5963 MB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.218, allocations: 4 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.218, allocations: 3.938 kB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.218, allocations: 0 / 0.9034 GB, free: 61.33 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.0008293/0.2189, allocations: 0.7638 MB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2189, allocations: 12.03 kB / 0.9042 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.173e-05/0.219, allocations: 64.09 kB / 0.9042 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.2193, allocations: 352.5 kB / 0.9046 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2193, allocations: 12.38 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.2193, allocations: 8.375 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2195, allocations: 137.9 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2196, allocations: 0 / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2196, allocations: 4 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2196, allocations: 4 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.2197, allocations: 99.94 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/0.2203, allocations: 0.5353 MB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.2205, allocations: 106.5 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.2206, allocations: 64.97 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.2206, allocations: 4.188 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.2208, allocations: 141 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.2208, allocations: 0 / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004511/0.2213, allocations: 306.6 kB / 0.9059 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2213, allocations: 85.05 kB / 0.906 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.222, allocations: 0.758 MB / 0.9067 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2221, allocations: 29.7 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2222, allocations: 280.2 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.2223, allocations: 27.64 kB / 0.9071 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.2223, allocations: 21.7 kB / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.2224, allocations: 306 kB / 0.9074 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.2224, allocations: 55.91 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.262e-05/0.2225, allocations: 47.97 kB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.2226, allocations: 152.2 kB / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2226, allocations: 0 / 0.9076 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002355/0.2229, allocations: 262.5 kB / 0.9079 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.2229, allocations: 37.69 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2229, allocations: 3.984 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.223, allocations: 4 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.223, allocations: 7.938 kB / 0.9079 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.223, allocations: 4 kB / 0.9079 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2232, allocations: 27.77 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2232, allocations: 4 kB / 0.908 GB, free: 56.38 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 (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.0002368/0.2234, allocations: 329.6 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.2235, allocations: 67.19 kB / 0.9083 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.2238, allocations: 288.7 kB / 0.9086 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2238, allocations: 0 / 0.9086 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2239, allocations: 0 / 0.9086 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2239, allocations: 8 kB / 0.9086 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.2241, allocations: 365.4 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2241, allocations: 3.938 kB / 0.909 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.2242, allocations: 11.92 kB / 0.909 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2242, allocations: 0 / 0.909 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2242, allocations: 8 kB / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2242, allocations: 0 / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2242, allocations: 0 / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.2245, allocations: 314.3 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.2246, allocations: 148.2 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.2246, allocations: 4 kB / 0.9094 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2247, allocations: 12.17 kB / 0.9095 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.2248, allocations: 8 kB / 0.9095 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2248, allocations: 11.92 kB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005161/0.2253, allocations: 0.5614 MB / 0.91 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2253, allocations: 0 / 0.91 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000372/0.2257, allocations: 120 kB / 0.9101 GB, free: 54.04 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.0003455/0.2261, allocations: 195.1 kB / 0.9103 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.2263, allocations: 203.3 kB / 0.9105 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2263, allocations: 0 / 0.9105 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.2264, allocations: 151.3 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.2269, allocations: 105.4 kB / 0.9108 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2282, allocations: 1.193 MB / 0.9119 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.2285, allocations: 0.9546 MB / 0.9129 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.2286, allocations: 19.44 kB / 0.9129 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2286, allocations: 0 / 0.9129 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.00812/0.2367, allocations: 6.192 MB / 0.9189 GB, free: 44.98 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)