Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001287/0.001287, allocations: 80.8 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.001829/0.001829, allocations: 161.4 kB / 24.16 MB, free: 332 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.066/1.066, allocations: 177.1 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.966/1.966, 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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.28e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003038/0.003061, allocations: 1.555 MB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.003818, allocations: 372.1 kB / 0.7771 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.003857, allocations: 2.438 kB / 0.7771 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.003893, allocations: 3.938 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/0.003951, allocations: 1.531 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.004361, allocations: 95.06 kB / 0.7772 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.541e-05/0.004436, allocations: 25.34 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.004527, allocations: 15.98 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.004584, allocations: 13.3 kB / 0.7772 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.752e-05/0.004621, allocations: 4.656 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.004637, allocations: 0 / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.005085, allocations: 279.6 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.005101, allocations: 6.531 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.005122, allocations: 17.12 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.005358, allocations: 127.6 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005361, allocations: 1.719 kB / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.92e-07/0.005362, allocations: 0 / 0.7776 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.005366, allocations: 4 kB / 0.7776 GB, free: 2.914 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000341/0.005707, allocations: 260.7 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.005751, allocations: 13.34 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.757e-05/0.005819, allocations: 1.719 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.005955, allocations: 109.8 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.005966, allocations: 1.219 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.005975, allocations: 4.375 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.006096, allocations: 58.03 kB / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.006103, allocations: 192 / 0.7781 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.006114, allocations: 12.36 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.00612, allocations: 384 / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.006146, allocations: 7.938 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.006357, allocations: 144.3 kB / 0.7782 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.006405, allocations: 18.58 kB / 0.7782 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.00642, allocations: 8.453 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.006787, allocations: 75.98 kB / 0.7783 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.006812, allocations: 34.56 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.006814, allocations: 5.062 kB / 0.7784 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.006967, allocations: 37.69 kB / 0.7784 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.006997, allocations: 56.41 kB / 0.7785 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.007063, allocations: 110.7 kB / 0.7786 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007077, allocations: 29.7 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.007107, allocations: 80.64 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.007126, allocations: 8.578 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.007154, allocations: 13.72 kB / 0.7787 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.007249, allocations: 323.9 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.007261, allocations: 3.938 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.007269, allocations: 0 / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.007302, allocations: 13.61 kB / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007303, allocations: 1.469 kB / 0.779 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.279e-05/0.007386, allocations: 37.69 kB / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.007402, allocations: 4 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.007407, allocations: 0.5625 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.007421, allocations: 0 / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.007486, allocations: 13.77 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.007489, allocations: 0 / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.007513, allocations: 8 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-06/0.007517, allocations: 3.938 kB / 0.7791 GB, free: 1.301 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 (2): * Single equations (assignments): 2 * 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.48e-05/0.007582, allocations: 114.6 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.007621, allocations: 0.9688 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.007707, allocations: 45.3 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007709, allocations: 0.9375 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.007712, allocations: 3.938 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.007715, allocations: 0 / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.007837, allocations: 66.83 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.007839, allocations: 4 kB / 0.7793 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.00788, allocations: 9.469 kB / 0.7793 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007883, allocations: 0 / 0.7793 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.00789, allocations: 3.984 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007891, allocations: 0 / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.007893, allocations: 0.625 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.008007, allocations: 140 kB / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.008017, allocations: 11.94 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.008027, allocations: 4.594 kB / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.646e-05/0.008084, allocations: 5.125 kB / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.008114, allocations: 0 / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.008117, allocations: 0 / 0.7795 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.85e-05/0.008136, allocations: 17.66 kB / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.008136, allocations: 0 / 0.7795 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002358/0.008372, allocations: 20 kB / 0.7795 GB, free: 0.8203 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 (2): * Single equations (assignments): 2 * 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 0.0001537/0.008525, allocations: 93.47 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.0086, allocations: 13.7 kB / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.008603, allocations: 0 / 0.7796 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.008619, allocations: 9.578 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.008802, allocations: 4.688 kB / 0.7796 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.009048, allocations: 117.5 kB / 0.7797 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.009085, allocations: 56.48 kB / 0.7798 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.15e-05/0.009107, allocations: 0 / 0.7798 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.009156, allocations: 51.38 kB / 0.7798 GB, free: 436 kB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.009156, allocations: 1.438 kB / 0.7798 GB, free: 436 kB / 0.7292 GB Notification: Performance of Templates: time 0.003068/0.01222, allocations: 0.7849 MB / 0.7806 GB, free: 15.67 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0824350621551275]