Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9155/0.9155, allocations: 177.2 MB / 204.7 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.896/1.896, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.575e-05, allocations: 3.188 kB / 0.7754 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002689/0.002704, allocations: 2.146 MB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.005097, allocations: 2.571 MB / 0.78 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.005207, allocations: 0 / 0.78 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009478/0.006155, allocations: 487.9 kB / 0.7805 GB, free: 108 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.006255, allocations: 69.02 kB / 0.7805 GB, free: 40 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.006789, allocations: 244.9 kB / 0.7808 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.007098, allocations: 338.3 kB / 0.7811 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.007211, allocations: 53.17 kB / 0.7812 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.007353, allocations: 148.1 kB / 0.7813 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.007466, allocations: 108.8 kB / 0.7814 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.007488, allocations: 8 kB / 0.7814 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.007885, allocations: 372 kB / 0.7818 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.007966, allocations: 107.6 kB / 0.7819 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.008049, allocations: 96.72 kB / 0.782 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.008538, allocations: 0.6151 MB / 0.7826 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.008542, allocations: 3.984 kB / 0.7826 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.008542, allocations: 0.7812 kB / 0.7826 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.008547, allocations: 0 / 0.7826 GB, free: 13.98 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.0006155/0.009163, allocations: 0.7761 MB / 0.7833 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.009196, allocations: 13.97 kB / 0.7833 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.009249, allocations: 48.88 kB / 0.7834 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.009495, allocations: 319.2 kB / 0.7837 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.009511, allocations: 4.375 kB / 0.7837 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.009527, allocations: 9.312 kB / 0.7837 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.009664, allocations: 120 kB / 0.7838 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.009673, allocations: 4.469 kB / 0.7838 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.009685, allocations: 8 kB / 0.7838 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.00969, allocations: 0.625 kB / 0.7838 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.009747, allocations: 59.73 kB / 0.7839 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.0104, allocations: 325.6 kB / 0.7842 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/0.01049, allocations: 129.7 kB / 0.7843 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.01052, allocations: 53.28 kB / 0.7844 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.01055, allocations: 7.984 kB / 0.7844 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.01066, allocations: 129.6 kB / 0.7845 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.01066, allocations: 0 / 0.7845 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001819/0.01084, allocations: 226.9 kB / 0.7847 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.01087, allocations: 81.3 kB / 0.7848 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.01117, allocations: 0.5116 MB / 0.7853 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.01118, allocations: 26.92 kB / 0.7853 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.01126, allocations: 177.8 kB / 0.7855 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.01128, allocations: 27.73 kB / 0.7855 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.01132, allocations: 35.28 kB / 0.7855 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.01138, allocations: 310 kB / 0.7858 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.01141, allocations: 44.53 kB / 0.7859 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.01144, allocations: 53.62 kB / 0.7859 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.559e-05/0.01151, allocations: 107.5 kB / 0.786 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01151, allocations: 1.094 kB / 0.786 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001114/0.01162, allocations: 169 kB / 0.7862 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.01165, allocations: 41.62 kB / 0.7862 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.01165, allocations: 1.031 kB / 0.7862 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.01166, allocations: 3.984 kB / 0.7862 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.491e-05/0.0117, allocations: 8 kB / 0.7862 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.0117, allocations: 5.312 kB / 0.7863 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.01176, allocations: 7.984 kB / 0.7863 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01178, allocations: 8 kB / 0.7863 GB, free: 9.906 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 (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.0001074/0.01188, allocations: 152.8 kB / 0.7864 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.01192, allocations: 39.95 kB / 0.7865 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.01208, allocations: 198.6 kB / 0.7866 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.01208, allocations: 1.312 kB / 0.7866 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01208, allocations: 4 kB / 0.7866 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01209, allocations: 3.938 kB / 0.7867 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.01222, allocations: 181.6 kB / 0.7868 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01222, allocations: 1.406 kB / 0.7868 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.01225, allocations: 8 kB / 0.7868 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01225, allocations: 0 / 0.7868 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.01226, allocations: 8.875 kB / 0.7868 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.01226, allocations: 0 / 0.7868 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01226, allocations: 0 / 0.7868 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.01239, allocations: 226.7 kB / 0.7871 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.01245, allocations: 63.52 kB / 0.7871 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.01248, allocations: 6.281 kB / 0.7871 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.01253, allocations: 7.984 kB / 0.7871 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.01256, allocations: 0 / 0.7871 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01256, allocations: 8 kB / 0.7871 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001635/0.01273, allocations: 248.5 kB / 0.7874 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01273, allocations: 0 / 0.7874 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002121/0.01294, allocations: 130.2 kB / 0.7875 GB, free: 8.566 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,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.0002248/0.01317, allocations: 188.1 kB / 0.7877 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.01331, allocations: 183.7 kB / 0.7879 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.01331, allocations: 8 kB / 0.7879 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.174e-05/0.01337, allocations: 132 kB / 0.788 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.01364, allocations: 128.9 kB / 0.7881 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.01462, allocations: 0.8716 MB / 0.789 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.01472, allocations: 179.7 kB / 0.7891 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.012e-05/0.01477, allocations: 20.06 kB / 0.7892 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.01494, allocations: 133.3 kB / 0.7893 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01494, allocations: 0.5625 kB / 0.7893 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of Templates: time 0.008361/0.0233, allocations: 6.095 MB / 0.7952 GB, free: 0.7891 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.025313764810562]