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.0008279/0.0008279, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001897/0.002725, 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.001117/0.001117, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.00256, 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 1.105/1.105, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09372/1.198, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.918/1.918, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.489/2.407, allocations: 127.1 MB / 0.7432 GB, free: 4.625 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.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 1.403e-06/1.403e-06, allocations: 0 / 0.7445 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.085e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001241/0.001262, allocations: 0.6516 MB / 0.7452 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001006/0.001363, allocations: 45.77 kB / 0.7452 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.044e-05/0.001373, allocations: 1.094 kB / 0.7452 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-06/0.001378, allocations: 0 / 0.7452 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-07/0.001378, allocations: 0 / 0.7452 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.436e-05/0.001473, allocations: 12.8 kB / 0.7452 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.001516, allocations: 9.609 kB / 0.7452 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.001553, allocations: 3.984 kB / 0.7452 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.001585, allocations: 5.203 kB / 0.7452 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.792e-05/0.001613, allocations: 7.344 kB / 0.7453 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.001624, allocations: 0 / 0.7453 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.001739, allocations: 23.97 kB / 0.7453 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.001749, allocations: 0.9844 kB / 0.7453 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.111e-05/0.00176, allocations: 0 / 0.7453 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.001855, allocations: 17.02 kB / 0.7453 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.819e-05/0.001873, allocations: 4 kB / 0.7453 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.001874, allocations: 0 / 0.7453 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.001893, allocations: 0 / 0.7453 GB, free: 2.527 MB / 0.7136 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.0002856/0.002178, allocations: 213.4 kB / 0.7455 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.002215, allocations: 9.703 kB / 0.7455 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.00249, allocations: 94.55 kB / 0.7456 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.002566, allocations: 106.4 kB / 0.7457 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.002578, allocations: 384 / 0.7457 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.002585, allocations: 0.9688 kB / 0.7457 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.002713, allocations: 52.39 kB / 0.7458 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.002723, allocations: 4.172 kB / 0.7458 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.002731, allocations: 384 / 0.7458 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.002737, allocations: 384 / 0.7458 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.00276, allocations: 10.09 kB / 0.7458 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.202e-05/0.002842, allocations: 53.05 kB / 0.7458 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.434e-05/0.002886, allocations: 23.36 kB / 0.7458 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.002901, allocations: 4.859 kB / 0.7458 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.002921, allocations: 0.6562 kB / 0.7458 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.002952, allocations: 43.2 kB / 0.7459 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.002953, allocations: 0 / 0.7459 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001076/0.003061, allocations: 31.23 kB / 0.7459 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.003097, allocations: 51.41 kB / 0.746 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.656e-05/0.003134, allocations: 89.86 kB / 0.7461 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.003147, allocations: 28.56 kB / 0.7461 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.00317, allocations: 84.12 kB / 0.7462 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.003199, allocations: 4 kB / 0.7462 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.003228, allocations: 13.7 kB / 0.7462 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.00332, allocations: 314.8 kB / 0.7465 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.003333, allocations: 5.094 kB / 0.7465 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.003341, allocations: 2.438 kB / 0.7465 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.003373, allocations: 12.8 kB / 0.7465 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.003375, allocations: 0 / 0.7465 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.923e-05/0.003434, allocations: 37.69 kB / 0.7465 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.003449, allocations: 5.469 kB / 0.7465 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.003454, allocations: 0 / 0.7465 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.003462, allocations: 4 kB / 0.7465 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.003534, allocations: 1.719 kB / 0.7465 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.003536, allocations: 0 / 0.7465 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.003564, allocations: 9.031 kB / 0.7465 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.003569, allocations: 0 / 0.7465 GB, free: 1.09 MB / 0.7136 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 6.509e-05/0.003634, allocations: 114.6 kB / 0.7467 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.003641, allocations: 0 / 0.7467 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.003667, allocations: 11.44 kB / 0.7467 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.003669, allocations: 0.75 kB / 0.7467 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.003672, allocations: 4 kB / 0.7467 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.003675, allocations: 2.344 kB / 0.7467 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.951e-05/0.003735, allocations: 61.84 kB / 0.7467 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.003737, allocations: 0 / 0.7467 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.003768, allocations: 8.641 kB / 0.7467 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-06/0.003771, allocations: 0 / 0.7467 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.003774, allocations: 4 kB / 0.7467 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.003779, allocations: 0 / 0.7467 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00378, allocations: 2.75 kB / 0.7468 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.003781, allocations: 0 / 0.7468 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.445e-05/0.003855, allocations: 61.72 kB / 0.7468 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.003865, allocations: 0 / 0.7468 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.00388, allocations: 0 / 0.7468 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.00389, allocations: 0 / 0.7468 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.003894, allocations: 2.719 kB / 0.7468 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.745e-06/0.003901, allocations: 8.797 kB / 0.7468 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.003901, allocations: 4.656 kB / 0.7468 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001528/0.004054, allocations: 4 kB / 0.7468 GB, free: 0.7656 MB / 0.7136 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 8.913e-05/0.004143, allocations: 72.42 kB / 0.7469 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.759e-05/0.004211, allocations: 17.95 kB / 0.7469 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.004216, allocations: 4 kB / 0.7469 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.004227, allocations: 5.391 kB / 0.7469 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.161e-05/0.004288, allocations: 9.344 kB / 0.7469 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.00448, allocations: 83.19 kB / 0.747 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.004512, allocations: 51.36 kB / 0.7471 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.00454, allocations: 2.969 kB / 0.7471 GB, free: 480 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.00458, allocations: 51.38 kB / 0.7471 GB, free: 428 kB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.00458, allocations: 0 / 0.7471 GB, free: 428 kB / 0.7136 GB Notification: Performance of Templates: time 0.002/0.00658, allocations: 289 kB / 0.7474 GB, free: 148 kB / 0.7136 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: 5.020874314010143]