Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7866/0.7866, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 194.3 kB / 192 MB, free: 6.727 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.7 MB / 450.4 MB, free: 6.727 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 111.2 kB / 0.5211 GB, free: 3.398 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 281.9 kB / 0.6025 GB, free: 49.54 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 20 kB / 0.6948 GB, free: 2.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3904, allocations: 82.45 MB / 0.7753 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008854/0.3914, allocations: 351.6 kB / 0.7757 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.3921, allocations: 0.5845 MB / 0.7762 GB, free: 26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.3922, allocations: 0 / 0.7762 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.3922, allocations: 0 / 0.7762 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 2.517e-05/0.3922, allocations: 0 / 0.7762 GB, free: 26 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.3926, allocations: 75.78 kB / 0.7763 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.497e-05/0.3926, allocations: 27.92 kB / 0.7763 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.3927, allocations: 10.23 kB / 0.7763 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.3927, allocations: 7.984 kB / 0.7764 GB, free: 25.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.3928, allocations: 11.94 kB / 0.7764 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3928, allocations: 0 / 0.7764 GB, free: 25.87 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.3931, allocations: 263.7 kB / 0.7766 GB, free: 25.61 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.3931, allocations: 7.984 kB / 0.7766 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.3932, allocations: 49.56 kB / 0.7767 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3933, allocations: 99.78 kB / 0.7768 GB, free: 25.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3933, allocations: 0 / 0.7768 GB, free: 25.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3933, allocations: 0 / 0.7768 GB, free: 25.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3933, allocations: 0 / 0.7768 GB, free: 25.45 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003656/0.3937, allocations: 350.3 kB / 0.7771 GB, free: 25.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3938, allocations: 8.031 kB / 0.7771 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.3938, allocations: 12.78 kB / 0.7771 GB, free: 25.04 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.791e-05/0.3939, allocations: 164.3 kB / 0.7773 GB, free: 24.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.3939, allocations: 8.375 kB / 0.7773 GB, free: 24.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.394, allocations: 384 / 0.7773 GB, free: 24.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3941, allocations: 58.22 kB / 0.7773 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3941, allocations: 192 / 0.7773 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3941, allocations: 3.938 kB / 0.7773 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3941, allocations: 0 / 0.7773 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.3942, allocations: 27.97 kB / 0.7774 GB, free: 24.74 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.3943, allocations: 169.5 kB / 0.7775 GB, free: 24.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.002e-05/0.3944, allocations: 66.48 kB / 0.7776 GB, free: 24.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.542e-05/0.3945, allocations: 32.84 kB / 0.7776 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005647/0.3951, allocations: 461.5 kB / 0.7781 GB, free: 23.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3951, allocations: 30.56 kB / 0.7781 GB, free: 23.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3951, allocations: 0 / 0.7781 GB, free: 23.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001063/0.3962, allocations: 0.5879 MB / 0.7787 GB, free: 23.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.3962, allocations: 59.41 kB / 0.7787 GB, free: 23.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/0.3962, allocations: 97.86 kB / 0.7788 GB, free: 22.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3963, allocations: 25.7 kB / 0.7788 GB, free: 22.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.3963, allocations: 84.14 kB / 0.7789 GB, free: 22.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3963, allocations: 43.39 kB / 0.779 GB, free: 22.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.3963, allocations: 0 / 0.779 GB, free: 22.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.3964, allocations: 322.8 kB / 0.7793 GB, free: 22.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.3964, allocations: 20 kB / 0.7793 GB, free: 22.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.3965, allocations: 27.92 kB / 0.7793 GB, free: 22.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.3965, allocations: 61.09 kB / 0.7794 GB, free: 22.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3965, allocations: 0 / 0.7794 GB, free: 22.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001193/0.3967, allocations: 101.5 kB / 0.7795 GB, free: 22.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3967, allocations: 4 kB / 0.7795 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3967, allocations: 0 / 0.7795 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3967, allocations: 4 kB / 0.7795 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.3968, allocations: 23.92 kB / 0.7795 GB, free: 22.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3968, allocations: 0 / 0.7795 GB, free: 22.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.3969, allocations: 4 kB / 0.7795 GB, free: 22.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3969, allocations: 8 kB / 0.7795 GB, free: 22.23 MB / 458.7 MB 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 (13): * Single equations (assignments): 13 * 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 5.675e-05/0.3969, allocations: 113.8 kB / 0.7796 GB, free: 22.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.397, allocations: 7.938 kB / 0.7796 GB, free: 22.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.3971, allocations: 101.6 kB / 0.7797 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3971, allocations: 0 / 0.7797 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3971, allocations: 0 / 0.7797 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3972, allocations: 4 kB / 0.7797 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.3974, allocations: 362.4 kB / 0.7801 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3975, allocations: 0 / 0.7801 GB, free: 21.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.612e-05/0.3976, allocations: 28.02 kB / 0.7801 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3976, allocations: 3.938 kB / 0.7801 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3976, allocations: 0 / 0.7801 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3976, allocations: 4 kB / 0.7801 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3976, allocations: 0 / 0.7801 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.3978, allocations: 215.4 kB / 0.7803 GB, free: 21.32 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.3978, allocations: 93.09 kB / 0.7804 GB, free: 21.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3979, allocations: 4 kB / 0.7804 GB, free: 21.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.3979, allocations: 7.984 kB / 0.7804 GB, free: 21.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.398, allocations: 4 kB / 0.7804 GB, free: 21.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.398, allocations: 4.188 kB / 0.7804 GB, free: 21.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.273e-05/0.398, allocations: 87.25 kB / 0.7805 GB, free: 21.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.398, allocations: 0 / 0.7805 GB, free: 21.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.3983, allocations: 44 kB / 0.7805 GB, free: 21.06 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002177/0.3985, allocations: 151.2 kB / 0.7807 GB, free: 20.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.3986, allocations: 68.28 kB / 0.7808 GB, free: 20.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3986, allocations: 0 / 0.7808 GB, free: 20.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.3987, allocations: 35.92 kB / 0.7808 GB, free: 20.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.3989, allocations: 10.72 kB / 0.7808 GB, free: 20.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.3992, allocations: 190.6 kB / 0.781 GB, free: 20.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.3993, allocations: 0.6888 MB / 0.7817 GB, free: 19.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.3994, allocations: 7.984 kB / 0.7817 GB, free: 19.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.3994, allocations: 11.44 kB / 0.7817 GB, free: 19.84 MB / 458.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3994, allocations: 0 / 0.7817 GB, free: 19.84 MB / 458.7 MB Notification: Performance of Templates: time 0.003394/0.4028, allocations: 1.376 MB / 0.783 GB, free: 18.47 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)