Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.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.001083/0.001083, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001181/0.001181, allocations: 161 kB / 24.17 MB, free: 328 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.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.867/1.867, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.7752 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.761e-05, allocations: 5.547 kB / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001474/0.001492, allocations: 0.6102 MB / 0.7758 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002804/0.001772, allocations: 47.8 kB / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.001787, allocations: 0 / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.0018, allocations: 0 / 0.7759 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.975e-06/0.001808, allocations: 8.922 kB / 0.7759 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.002011, allocations: 11.98 kB / 0.7759 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.844e-05/0.002049, allocations: 6.734 kB / 0.7759 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.002083, allocations: 4 kB / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/0.002107, allocations: 0.5469 kB / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.022e-05/0.002127, allocations: 0 / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.002138, allocations: 0 / 0.7759 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.002221, allocations: 19.98 kB / 0.7759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.002232, allocations: 1.422 kB / 0.7759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.456e-06/0.002241, allocations: 2.219 kB / 0.7759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.706e-05/0.002308, allocations: 23.91 kB / 0.7759 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00231, allocations: 0 / 0.7759 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00231, allocations: 0 / 0.7759 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.786e-06/0.002313, allocations: 0 / 0.7759 GB, free: 4.641 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001807/0.002494, allocations: 216.7 kB / 0.7761 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.002524, allocations: 10 kB / 0.7761 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.002694, allocations: 22.23 kB / 0.7762 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.331e-05/0.002747, allocations: 105.8 kB / 0.7763 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.002756, allocations: 1.188 kB / 0.7763 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.002765, allocations: 384 / 0.7763 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.002848, allocations: 51.52 kB / 0.7763 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.002855, allocations: 0.8125 kB / 0.7763 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-06/0.00286, allocations: 2.859 kB / 0.7763 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.002865, allocations: 384 / 0.7763 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.431e-05/0.002879, allocations: 7.938 kB / 0.7763 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.257e-05/0.002942, allocations: 57.05 kB / 0.7764 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.354e-05/0.002975, allocations: 20.53 kB / 0.7764 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.868e-06/0.002985, allocations: 4.859 kB / 0.7764 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.002997, allocations: 5 kB / 0.7764 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.003014, allocations: 30.56 kB / 0.7764 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.634e-06/0.003015, allocations: 4.641 kB / 0.7764 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.227e-05/0.003098, allocations: 39.25 kB / 0.7765 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.003124, allocations: 51.41 kB / 0.7765 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.608e-05/0.00315, allocations: 90.45 kB / 0.7766 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.003158, allocations: 26.42 kB / 0.7766 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.764e-05/0.003176, allocations: 84.14 kB / 0.7767 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.0032, allocations: 4.594 kB / 0.7767 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.003221, allocations: 13.7 kB / 0.7767 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.003294, allocations: 320.2 kB / 0.777 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.003304, allocations: 4.859 kB / 0.7771 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.00331, allocations: 0 / 0.7771 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.692e-05/0.003337, allocations: 10.08 kB / 0.7771 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.003338, allocations: 0 / 0.7771 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.558e-05/0.003374, allocations: 35.36 kB / 0.7771 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.003386, allocations: 10.03 kB / 0.7771 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.003389, allocations: 0 / 0.7771 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.003401, allocations: 3.984 kB / 0.7771 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.003453, allocations: 1.578 kB / 0.7771 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.003457, allocations: 4 kB / 0.7771 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.003474, allocations: 1.094 kB / 0.7771 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.003478, allocations: 0 / 0.7771 GB, free: 3.293 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.858e-05/0.003527, allocations: 110.3 kB / 0.7772 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-06/0.003532, allocations: 5.25 kB / 0.7772 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.003549, allocations: 3 kB / 0.7772 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.00355, allocations: 1.422 kB / 0.7772 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.003552, allocations: 3.984 kB / 0.7772 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.003554, allocations: 0 / 0.7772 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.327e-05/0.003598, allocations: 70.41 kB / 0.7773 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.003598, allocations: 4.688 kB / 0.7773 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.003609, allocations: 1.312 kB / 0.7773 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.00361, allocations: 1.75 kB / 0.7773 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.003613, allocations: 0 / 0.7773 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.003614, allocations: 4 kB / 0.7773 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.003618, allocations: 4 kB / 0.7773 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.021e-05/0.003668, allocations: 65.59 kB / 0.7774 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-06/0.003672, allocations: 8.953 kB / 0.7774 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-06/0.003678, allocations: 0 / 0.7774 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.003686, allocations: 0 / 0.7774 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.003695, allocations: 4.516 kB / 0.7774 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.003696, allocations: 0 / 0.7774 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.969e-06/0.003701, allocations: 5.984 kB / 0.7774 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.003701, allocations: 4.875 kB / 0.7774 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.5e-05/0.003786, allocations: 0 / 0.7774 GB, free: 2.961 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.859e-05/0.003855, allocations: 73.77 kB / 0.7775 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.42e-05/0.003899, allocations: 9.797 kB / 0.7775 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.003902, allocations: 4 kB / 0.7775 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.785e-06/0.00391, allocations: 9.734 kB / 0.7775 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.218e-05/0.003952, allocations: 11.92 kB / 0.7775 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001328/0.004085, allocations: 75.2 kB / 0.7776 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.483e-05/0.00411, allocations: 60.75 kB / 0.7776 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.004127, allocations: 2.312 kB / 0.7776 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.004158, allocations: 51.36 kB / 0.7777 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of SimCode: time 3.7e-07/0.004158, allocations: 0 / 0.7777 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of Templates: time 0.001473/0.005631, allocations: 291.3 kB / 0.778 GB, free: 2.336 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.855780546087772]