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.0009368/0.0009368, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.001552/0.001552, allocations: 172.9 kB / 25.18 MB, free: 8.918 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 0.9195/0.9195, allocations: 177.1 MB / 205.6 MB, free: 5.402 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.84/1.84, allocations: 389.6 MB / 0.6364 GB, free: 12.2 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.753e-06/1.753e-06, allocations: 0 / 0.7756 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.903e-05, allocations: 3.859 kB / 0.7756 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003286/0.003305, allocations: 2.149 MB / 0.7777 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.006666, allocations: 2.574 MB / 0.7802 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.006792, allocations: 0 / 0.7802 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.008037, allocations: 481.8 kB / 0.7806 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.008178, allocations: 68.59 kB / 0.7807 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.008879, allocations: 249.5 kB / 0.7809 GB, free: 472 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004126/0.009292, allocations: 340.4 kB / 0.7813 GB, free: 132 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.009431, allocations: 45.25 kB / 0.7813 GB, free: 84 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.00965, allocations: 151.7 kB / 0.7815 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.009797, allocations: 107.7 kB / 0.7816 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.009824, allocations: 8.656 kB / 0.7816 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.01053, allocations: 372.1 kB / 0.7819 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.01064, allocations: 111.5 kB / 0.782 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.01076, allocations: 92.73 kB / 0.7821 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.01138, allocations: 0.6152 MB / 0.7827 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.01138, allocations: 0 / 0.7827 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01139, allocations: 0.5625 kB / 0.7827 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.01139, allocations: 0.875 kB / 0.7827 GB, free: 14.64 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.0006671/0.01206, allocations: 0.7831 MB / 0.7835 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.01209, allocations: 14.12 kB / 0.7835 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.01214, allocations: 40.89 kB / 0.7835 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.01239, allocations: 323.1 kB / 0.7838 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.01241, allocations: 6.188 kB / 0.7839 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.01242, allocations: 8.375 kB / 0.7839 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.01256, allocations: 120 kB / 0.784 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.01256, allocations: 3.938 kB / 0.784 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.01257, allocations: 11.98 kB / 0.784 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.01258, allocations: 4.984 kB / 0.784 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.01263, allocations: 55.56 kB / 0.784 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.01302, allocations: 330 kB / 0.7844 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.0131, allocations: 121.8 kB / 0.7845 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.01314, allocations: 52.03 kB / 0.7845 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.01317, allocations: 7.984 kB / 0.7845 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.01327, allocations: 137.6 kB / 0.7847 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.01327, allocations: 0.9375 kB / 0.7847 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001859/0.01346, allocations: 222.6 kB / 0.7849 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.0135, allocations: 86.23 kB / 0.785 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.0138, allocations: 0.5116 MB / 0.7855 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.01381, allocations: 26.55 kB / 0.7855 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.0139, allocations: 177.8 kB / 0.7857 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.01392, allocations: 23.8 kB / 0.7857 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.01396, allocations: 30.58 kB / 0.7857 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.476e-05/0.01402, allocations: 314 kB / 0.786 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.01405, allocations: 50.22 kB / 0.7861 GB, free: 11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/0.01408, allocations: 49.69 kB / 0.7861 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/0.01415, allocations: 99.06 kB / 0.7862 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01415, allocations: 0 / 0.7862 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001156/0.01426, allocations: 169 kB / 0.7864 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.01429, allocations: 42.22 kB / 0.7864 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.0143, allocations: 0.8125 kB / 0.7864 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.964e-06/0.0143, allocations: 0 / 0.7864 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.01436, allocations: 13.02 kB / 0.7864 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01436, allocations: 3.938 kB / 0.7864 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.01442, allocations: 7.938 kB / 0.7864 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01443, allocations: 5.75 kB / 0.7864 GB, free: 10.57 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.0001053/0.01454, allocations: 155 kB / 0.7866 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.01457, allocations: 43.95 kB / 0.7866 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.01473, allocations: 202.5 kB / 0.7868 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01473, allocations: 5.094 kB / 0.7868 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01473, allocations: 0 / 0.7868 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01474, allocations: 3.938 kB / 0.7868 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.01489, allocations: 183.3 kB / 0.787 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0149, allocations: 4.125 kB / 0.787 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.01492, allocations: 4 kB / 0.787 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01492, allocations: 4 kB / 0.787 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.01493, allocations: 4.906 kB / 0.787 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01493, allocations: 0 / 0.787 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01493, allocations: 160 / 0.787 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.01507, allocations: 223.1 kB / 0.7872 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.01512, allocations: 55.58 kB / 0.7873 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.01515, allocations: 8 kB / 0.7873 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.0152, allocations: 8.484 kB / 0.7873 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.01523, allocations: 0.875 kB / 0.7873 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01524, allocations: 11.98 kB / 0.7873 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001648/0.01541, allocations: 245.7 kB / 0.7875 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01541, allocations: 0 / 0.7875 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002349/0.01564, allocations: 127.8 kB / 0.7877 GB, free: 9.227 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.0002365/0.01588, allocations: 198.5 kB / 0.7879 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.01602, allocations: 191.5 kB / 0.788 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.01603, allocations: 8 kB / 0.788 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.0161, allocations: 132.7 kB / 0.7882 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.01637, allocations: 122.9 kB / 0.7883 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.01755, allocations: 0.9289 MB / 0.7892 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.01777, allocations: 307.5 kB / 0.7895 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.01797, allocations: 129.3 kB / 0.7896 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/0.01797, allocations: 0 / 0.7896 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of Templates: time 0.006813/0.02478, allocations: 6.781 MB / 0.7962 GB, free: 0.5039 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 > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.881917368620634]