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.002015/0.002015, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.003587/0.003587, allocations: 173.2 kB / 23.23 MB, free: 1.324 MB / 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 1.677/1.677, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.262/3.262, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] 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.683e-06/1.683e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.351e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.006137/0.006171, allocations: 2.021 MB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006772/0.01294, allocations: 2.359 MB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.01316, allocations: 0 / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.0155, allocations: 485.5 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.01581, allocations: 71.53 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.01734, allocations: 273.4 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007889/0.01813, allocations: 342.2 kB / 1.007 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.01837, allocations: 45.23 kB / 1.007 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004078/0.01878, allocations: 143.6 kB / 1.007 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000354/0.01913, allocations: 115.7 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/0.01921, allocations: 11.94 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.02024, allocations: 331.5 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.02047, allocations: 111.5 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.02075, allocations: 99.59 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.02265, allocations: 0.8567 MB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.02265, allocations: 0 / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.053e-06/0.02265, allocations: 0 / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.02267, allocations: 0 / 1.008 GB, free: 5.738 MB / 0.9636 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.002422/0.0251, allocations: 0.8119 MB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.132e-05/0.02517, allocations: 9.344 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.02538, allocations: 68.52 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008062/0.02618, allocations: 338.3 kB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.02622, allocations: 12.28 kB / 1.009 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.02625, allocations: 8.375 kB / 1.009 GB, free: 4.434 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.02668, allocations: 163 kB / 1.01 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.0267, allocations: 3.938 kB / 1.01 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.02672, allocations: 4 kB / 1.01 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.02673, allocations: 3.984 kB / 1.01 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.02707, allocations: 129.6 kB / 1.01 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.02835, allocations: 468.1 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.02868, allocations: 136.2 kB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.02886, allocations: 82.67 kB / 1.01 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.02892, allocations: 4 kB / 1.01 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.0293, allocations: 166.8 kB / 1.011 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.0293, allocations: 0 / 1.011 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0009565/0.03026, allocations: 382.3 kB / 1.011 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.03035, allocations: 85.09 kB / 1.011 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.03207, allocations: 0.7543 MB / 1.012 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.03211, allocations: 33.69 kB / 1.012 GB, free: 1.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004982/0.03261, allocations: 299.9 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.601e-05/0.03267, allocations: 23.8 kB / 1.012 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.03276, allocations: 25.7 kB / 1.012 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002485/0.03301, allocations: 314 kB / 1.012 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.03318, allocations: 77.66 kB / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.03335, allocations: 85.67 kB / 1.013 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.03368, allocations: 160.2 kB / 1.013 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.03368, allocations: 0 / 1.013 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006798/0.03436, allocations: 308.5 kB / 1.013 GB, free: 0.5703 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/0.03443, allocations: 41.69 kB / 1.013 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.03444, allocations: 0 / 1.013 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.03446, allocations: 3.938 kB / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.03458, allocations: 8 kB / 1.013 GB, free: 0.5117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.03459, allocations: 4.141 kB / 1.013 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.03481, allocations: 8 kB / 1.013 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.03484, allocations: 8 kB / 1.013 GB, free: 0.4922 MB / 0.9636 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.0006221/0.03546, allocations: 335.4 kB / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.03559, allocations: 71.56 kB / 1.013 GB, free: 80 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.03643, allocations: 330.4 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.03644, allocations: 3.938 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.03644, allocations: 0 / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.03645, allocations: 3.984 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.0371, allocations: 313.1 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.0371, allocations: 0 / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.03716, allocations: 4 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.03716, allocations: 4 kB / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.03719, allocations: 7.984 kB / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.03719, allocations: 128 / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.0372, allocations: 7.938 kB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.03794, allocations: 340.5 kB / 1.014 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.03815, allocations: 67.5 kB / 1.014 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.03825, allocations: 8 kB / 1.014 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.03843, allocations: 11.92 kB / 1.014 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.03851, allocations: 7.938 kB / 1.014 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.03855, allocations: 11.98 kB / 1.014 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00129/0.03984, allocations: 0.5652 MB / 1.015 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/0.03984, allocations: 0 / 1.015 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007714/0.04061, allocations: 127.8 kB / 1.015 GB, free: 14.21 MB / 0.9792 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.0007425/0.04136, allocations: 203 kB / 1.015 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008919/0.04225, allocations: 238.7 kB / 1.016 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.04225, allocations: 4 kB / 1.016 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.04254, allocations: 149 kB / 1.016 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.04347, allocations: 122.5 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.0463, allocations: 1.097 MB / 1.017 GB, free: 12.33 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.04709, allocations: 382.5 kB / 1.017 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.04726, allocations: 21.95 kB / 1.017 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.04732, allocations: 16.5 kB / 1.017 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of SimCode: time 8.92e-07/0.04732, allocations: 3.938 kB / 1.017 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of Templates: time 0.02078/0.06809, allocations: 5.576 MB / 1.023 GB, free: 6.426 MB / 0.9792 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: 9.755253534764051]