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.001084/0.001084, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001151/0.001151, allocations: 161 kB / 24.16 MB, free: 336 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 1.015/1.015, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.86/1.86, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 2.194e-06/2.194e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.823e-05, allocations: 5.828 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003931/0.00396, allocations: 2.098 MB / 0.7773 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003765/0.007724, allocations: 2.579 MB / 0.7798 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.007867, allocations: 0 / 0.7798 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.009189, allocations: 473.6 kB / 0.7802 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.009361, allocations: 77 kB / 0.7803 GB, free: 172 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009415/0.0103, allocations: 281.3 kB / 0.7806 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.01077, allocations: 343.8 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.01093, allocations: 49.17 kB / 0.7809 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.01119, allocations: 156.4 kB / 0.7811 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.01136, allocations: 99.67 kB / 0.7812 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.01139, allocations: 8.5 kB / 0.7812 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.012, allocations: 331.5 kB / 0.7815 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01213, allocations: 117.1 kB / 0.7816 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.01226, allocations: 95.61 kB / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009188/0.01318, allocations: 0.6112 MB / 0.7823 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.01318, allocations: 0 / 0.7823 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01319, allocations: 0.875 kB / 0.7823 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.0132, allocations: 0 / 0.7823 GB, free: 14.11 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.001108/0.01431, allocations: 0.784 MB / 0.7831 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.01435, allocations: 13.34 kB / 0.7831 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.01444, allocations: 42.64 kB / 0.7831 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.01485, allocations: 322.5 kB / 0.7834 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01487, allocations: 4.375 kB / 0.7834 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.0149, allocations: 8.375 kB / 0.7834 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.01509, allocations: 120 kB / 0.7836 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.0151, allocations: 4.438 kB / 0.7836 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.01512, allocations: 5.094 kB / 0.7836 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.01513, allocations: 7.984 kB / 0.7836 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.01521, allocations: 50.25 kB / 0.7836 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.0158, allocations: 330.2 kB / 0.7839 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.01594, allocations: 126.9 kB / 0.7841 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.01599, allocations: 42.56 kB / 0.7841 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.01603, allocations: 12.73 kB / 0.7841 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.0162, allocations: 129.6 kB / 0.7842 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.003e-06/0.0162, allocations: 0.5312 kB / 0.7842 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002881/0.01649, allocations: 207.2 kB / 0.7844 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.01655, allocations: 89.28 kB / 0.7845 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.01709, allocations: 0.513 MB / 0.785 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.01711, allocations: 25.7 kB / 0.785 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01723, allocations: 173.8 kB / 0.7852 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.01727, allocations: 31.75 kB / 0.7852 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.01733, allocations: 31.19 kB / 0.7853 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.01742, allocations: 313.9 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.01747, allocations: 44.52 kB / 0.7856 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.01751, allocations: 37.7 kB / 0.7857 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.01761, allocations: 103.7 kB / 0.7857 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01762, allocations: 1.094 kB / 0.7858 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000186/0.0178, allocations: 161.4 kB / 0.7859 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.01785, allocations: 41.69 kB / 0.7859 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01785, allocations: 0.5 kB / 0.7859 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01786, allocations: 1.031 kB / 0.7859 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.01794, allocations: 8 kB / 0.786 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01794, allocations: 3.938 kB / 0.786 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.01806, allocations: 9.297 kB / 0.786 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.01808, allocations: 4 kB / 0.786 GB, free: 10.09 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.0001609/0.01824, allocations: 155.4 kB / 0.7861 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.01829, allocations: 41.33 kB / 0.7862 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.01854, allocations: 202.5 kB / 0.7864 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01855, allocations: 0 / 0.7864 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01855, allocations: 1.406 kB / 0.7864 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.01856, allocations: 7.922 kB / 0.7864 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.0188, allocations: 177.7 kB / 0.7865 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.0188, allocations: 4.125 kB / 0.7865 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-05/0.01885, allocations: 13.27 kB / 0.7865 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01885, allocations: 0 / 0.7865 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01886, allocations: 4 kB / 0.7865 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01887, allocations: 0.875 kB / 0.7866 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01887, allocations: 0 / 0.7866 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.01905, allocations: 214 kB / 0.7868 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.01912, allocations: 64.28 kB / 0.7868 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.01916, allocations: 8 kB / 0.7868 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.01922, allocations: 4.938 kB / 0.7868 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.01927, allocations: 3.984 kB / 0.7868 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01928, allocations: 8.969 kB / 0.7868 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001879/0.01946, allocations: 240.6 kB / 0.7871 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01946, allocations: 0 / 0.7871 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003112/0.01977, allocations: 128.7 kB / 0.7872 GB, free: 8.754 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.0002946/0.02007, allocations: 197 kB / 0.7874 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.02021, allocations: 175.6 kB / 0.7875 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.02022, allocations: 10.75 kB / 0.7876 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.02028, allocations: 125.9 kB / 0.7877 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.02057, allocations: 128.7 kB / 0.7878 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.0222, allocations: 0.8721 MB / 0.7887 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.02237, allocations: 171.8 kB / 0.7888 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.02249, allocations: 19.16 kB / 0.7888 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.02275, allocations: 134 kB / 0.789 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.02275, allocations: 0 / 0.789 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.01224/0.035, allocations: 6.101 MB / 0.7949 GB, free: 0.9922 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.11327606998384]