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.001141/0.001141, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001763/0.002905, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001148/0.001148, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002305, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9647/0.9647, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.083/1.048, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.844/1.844, allocations: 389.9 MB / 0.619 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4778/2.322, allocations: 127.1 MB / 0.7432 GB, free: 4.605 MB / 0.7136 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.833e-06/1.833e-06, allocations: 0 / 0.7445 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.204e-05, allocations: 3.078 kB / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004118/0.00414, allocations: 2.152 MB / 0.7466 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.008019, allocations: 2.603 MB / 0.7491 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.008165, allocations: 0 / 0.7491 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.009494, allocations: 482.2 kB / 0.7496 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.009661, allocations: 71.47 kB / 0.7497 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.01049, allocations: 238 kB / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.01098, allocations: 351.5 kB / 0.7502 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.01118, allocations: 53.17 kB / 0.7503 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.01159, allocations: 230.4 kB / 0.7505 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.0118, allocations: 99.69 kB / 0.7506 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.01184, allocations: 8 kB / 0.7506 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008531/0.01269, allocations: 367.4 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.01284, allocations: 104.2 kB / 0.7511 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.013, allocations: 91.62 kB / 0.7511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.0141, allocations: 0.5379 MB / 0.7517 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.914e-05/0.01413, allocations: 4 kB / 0.7517 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.575e-06/0.01413, allocations: 0.7812 kB / 0.7517 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.978e-05/0.01417, allocations: 0 / 0.7517 GB, free: 11.97 MB / 0.7292 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.001541/0.01571, allocations: 0.8849 MB / 0.7525 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.01575, allocations: 8.938 kB / 0.7525 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.01586, allocations: 44.89 kB / 0.7526 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.01628, allocations: 323.7 kB / 0.7529 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.0163, allocations: 8.375 kB / 0.7529 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.01632, allocations: 12.31 kB / 0.7529 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.01654, allocations: 124.8 kB / 0.753 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.01655, allocations: 3.938 kB / 0.753 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.01657, allocations: 4.531 kB / 0.753 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.01657, allocations: 4 kB / 0.753 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.01667, allocations: 55.19 kB / 0.7531 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.01731, allocations: 333.5 kB / 0.7534 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.01745, allocations: 121.8 kB / 0.7535 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.01751, allocations: 55.64 kB / 0.7536 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/0.01756, allocations: 4 kB / 0.7536 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.01775, allocations: 138.1 kB / 0.7537 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 3.136e-06/0.01776, allocations: 0 / 0.7537 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002895/0.01805, allocations: 216 kB / 0.7539 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.01809, allocations: 81.3 kB / 0.754 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.0186, allocations: 0.5077 MB / 0.7545 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.01862, allocations: 35.3 kB / 0.7545 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.01874, allocations: 173.8 kB / 0.7547 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.01878, allocations: 27.73 kB / 0.7547 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.01883, allocations: 33.62 kB / 0.7548 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.01892, allocations: 310.9 kB / 0.7551 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.01898, allocations: 48.52 kB / 0.7551 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.01903, allocations: 45.69 kB / 0.7551 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.01913, allocations: 116.7 kB / 0.7553 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01914, allocations: 0 / 0.7553 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001895/0.01933, allocations: 161 kB / 0.7554 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/0.01937, allocations: 40.06 kB / 0.7555 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01938, allocations: 0 / 0.7555 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.01939, allocations: 4 kB / 0.7555 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.01948, allocations: 12 kB / 0.7555 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01948, allocations: 7.938 kB / 0.7555 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01959, allocations: 13.16 kB / 0.7555 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.01962, allocations: 7.984 kB / 0.7555 GB, free: 7.797 MB / 0.7292 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.0003294/0.01995, allocations: 153.1 kB / 0.7556 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.02001, allocations: 39.95 kB / 0.7557 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.02025, allocations: 195.7 kB / 0.7559 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02025, allocations: 0 / 0.7559 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.02025, allocations: 0 / 0.7559 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.02026, allocations: 12.7 kB / 0.7559 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.02044, allocations: 185.6 kB / 0.7561 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02044, allocations: 0.5 kB / 0.7561 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.02049, allocations: 8.516 kB / 0.7561 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.02056, allocations: 59.56 kB / 0.7561 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.02056, allocations: 1.781 kB / 0.7561 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.02057, allocations: 7.984 kB / 0.7561 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.02057, allocations: 0 / 0.7561 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02057, allocations: 0 / 0.7561 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.02074, allocations: 222 kB / 0.7563 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.02077, allocations: 5.219 kB / 0.7563 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.02084, allocations: 4 kB / 0.7563 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.02088, allocations: 11.92 kB / 0.7564 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.02089, allocations: 5.031 kB / 0.7564 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001836/0.02107, allocations: 248.5 kB / 0.7566 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02107, allocations: 1.312 kB / 0.7566 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000321/0.02139, allocations: 123.8 kB / 0.7567 GB, free: 6.457 MB / 0.7292 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.0002687/0.02166, allocations: 206.4 kB / 0.7569 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.02181, allocations: 179.6 kB / 0.7571 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.02182, allocations: 8 kB / 0.7571 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.02188, allocations: 123.5 kB / 0.7572 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.02219, allocations: 161.1 kB / 0.7574 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.02686, allocations: 0.8902 MB / 0.7582 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.847e-05/0.02696, allocations: 168.8 kB / 0.7584 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.035e-05/0.02703, allocations: 21.33 kB / 0.7584 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.0272, allocations: 137.2 kB / 0.7586 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.0272, allocations: 0 / 0.7586 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.008032/0.03523, allocations: 6.472 MB / 0.7649 GB, free: 14.25 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: 4.90711260214448]