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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.001231, allocations: 188.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.801/1.801, allocations: 292.3 MB / 0.5489 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 70.66 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2232, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.003071/0.2263, allocations: 1.991 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002947/0.2292, allocations: 2.536 MB / 0.7886 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2294, allocations: 0 / 0.7886 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2305, allocations: 485.8 kB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2306, allocations: 63.59 kB / 0.7891 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.2314, allocations: 274.1 kB / 0.7893 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.2318, allocations: 302.5 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2319, allocations: 88.7 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2321, allocations: 103.5 kB / 0.7898 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.2322, allocations: 127.3 kB / 0.7899 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.2323, allocations: 11.94 kB / 0.7899 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.2327, allocations: 323.5 kB / 0.7903 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2328, allocations: 99.61 kB / 0.7903 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.233, allocations: 202.5 kB / 0.7905 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.2337, allocations: 0.7905 MB / 0.7913 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2337, allocations: 0 / 0.7913 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2337, allocations: 0 / 0.7913 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2338, allocations: 4 kB / 0.7913 GB, free: 5.328 MB / 0.6075 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.0009715/0.2347, allocations: 0.8294 MB / 0.7921 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2348, allocations: 8.031 kB / 0.7921 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.2349, allocations: 60.19 kB / 0.7922 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.2353, allocations: 368.4 kB / 0.7925 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2353, allocations: 12.38 kB / 0.7926 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.2354, allocations: 8.125 kB / 0.7926 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2356, allocations: 132.1 kB / 0.7927 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2356, allocations: 0 / 0.7927 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2356, allocations: 0 / 0.7927 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2356, allocations: 7.938 kB / 0.7927 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.2358, allocations: 99.94 kB / 0.7928 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.2365, allocations: 0.5353 MB / 0.7933 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.2367, allocations: 114.6 kB / 0.7934 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.2368, allocations: 60.97 kB / 0.7935 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.2368, allocations: 11.92 kB / 0.7935 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.237, allocations: 125.1 kB / 0.7936 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.237, allocations: 0 / 0.7936 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004421/0.2374, allocations: 302.6 kB / 0.7939 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.2375, allocations: 89.14 kB / 0.794 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/0.2383, allocations: 0.762 MB / 0.7947 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2384, allocations: 29.7 kB / 0.7948 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.2386, allocations: 276.2 kB / 0.795 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.2386, allocations: 27.64 kB / 0.795 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.2387, allocations: 29.72 kB / 0.7951 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.2388, allocations: 313.9 kB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.2389, allocations: 43.98 kB / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.2389, allocations: 51.97 kB / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.2391, allocations: 160.6 kB / 0.7956 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2391, allocations: 3.938 kB / 0.7956 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003076/0.2394, allocations: 262.5 kB / 0.7959 GB, free: 400 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.2395, allocations: 33.7 kB / 0.7959 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.2395, allocations: 0 / 0.7959 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2395, allocations: 0 / 0.7959 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.2396, allocations: 15.97 kB / 0.7959 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2396, allocations: 0 / 0.7959 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2397, allocations: 11.84 kB / 0.7959 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2398, allocations: 8 kB / 0.7959 GB, free: 324 kB / 0.6075 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.00031/0.2401, allocations: 343.9 kB / 0.7963 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.2401, allocations: 63.25 kB / 0.7963 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.2406, allocations: 288.6 kB / 0.7966 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2406, allocations: 4 kB / 0.7966 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2406, allocations: 0 / 0.7966 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2406, allocations: 0 / 0.7966 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.241, allocations: 377.3 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.241, allocations: 0 / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.241, allocations: 11.94 kB / 0.797 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.241, allocations: 4 kB / 0.797 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.241, allocations: 0 / 0.797 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2411, allocations: 0 / 0.797 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2411, allocations: 4 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2414, allocations: 305.9 kB / 0.7973 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2416, allocations: 148.3 kB / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.2416, allocations: 192 / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2417, allocations: 15.94 kB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.2418, allocations: 11.98 kB / 0.7974 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.2418, allocations: 4 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005987/0.2424, allocations: 0.5653 MB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2424, allocations: 0 / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003922/0.2428, allocations: 127.9 kB / 0.7981 GB, free: 13.96 MB / 0.6231 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.0003394/0.2432, allocations: 186 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.2434, allocations: 203.3 kB / 0.7985 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2435, allocations: 0 / 0.7985 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2436, allocations: 159.2 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.244, allocations: 102.9 kB / 0.7987 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2454, allocations: 1.018 MB / 0.7997 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.2459, allocations: 0.966 MB / 0.8007 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.008e-05/0.246, allocations: 21.55 kB / 0.8007 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.246, allocations: 15.44 kB / 0.8007 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2461, allocations: 4 kB / 0.8007 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of Templates: time 0.009243/0.2553, allocations: 5.171 MB / 0.8058 GB, free: 6.137 MB / 0.6231 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)