Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00938/0.009385, allocations: 107.6 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001129/0.001129, allocations: 179.3 kB / 15.94 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.799/1.799, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.315/2.315, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008174/0.0008178, allocations: 12 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5908/0.5916, allocations: 98.72 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00144/0.5931, allocations: 1.14 MB / 0.6844 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006524/0.5938, allocations: 357.7 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.5938, allocations: 0 / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.5939, allocations: 0.7031 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.5939, allocations: 9.078 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.5943, allocations: 69.52 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.255e-05/0.5944, allocations: 22.92 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.276e-05/0.5945, allocations: 4.578 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.5945, allocations: 4.109 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.5946, allocations: 18.8 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.5946, allocations: 1.031 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004449/0.595, allocations: 255.8 kB / 0.6852 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.5951, allocations: 1.219 kB / 0.6852 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.5951, allocations: 32.33 kB / 0.6852 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.5953, allocations: 62.59 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.893e-06/0.5953, allocations: 3.938 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.017e-06/0.5953, allocations: 4 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.745e-06/0.5953, allocations: 0 / 0.6853 GB, free: 15.55 MB / 0.5261 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.0003771/0.5957, allocations: 360.8 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.5958, allocations: 8.938 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.5958, allocations: 6.344 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.5959, allocations: 169.7 kB / 0.6858 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.5959, allocations: 1.188 kB / 0.6858 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.596, allocations: 9.688 kB / 0.6858 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.5962, allocations: 52.98 kB / 0.6858 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.833e-06/0.5962, allocations: 1.094 kB / 0.6858 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5962, allocations: 4 kB / 0.6858 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.967e-06/0.5962, allocations: 1.344 kB / 0.6858 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.5964, allocations: 46.22 kB / 0.6859 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.5967, allocations: 253.6 kB / 0.6861 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.5969, allocations: 45.52 kB / 0.6862 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/0.5975, allocations: 461 kB / 0.6866 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.5976, allocations: 36.39 kB / 0.6866 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.077e-06/0.5976, allocations: 0 / 0.6866 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004489/0.598, allocations: 104.6 kB / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.5981, allocations: 56.11 kB / 0.6868 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.5981, allocations: 108.3 kB / 0.6869 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.942e-06/0.5982, allocations: 25.7 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.5982, allocations: 82.23 kB / 0.687 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.5982, allocations: 9.438 kB / 0.687 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-06/0.5982, allocations: 0 / 0.687 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.5983, allocations: 313.3 kB / 0.6873 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.5984, allocations: 26.94 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.5985, allocations: 20.2 kB / 0.6874 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.5987, allocations: 22.98 kB / 0.6874 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.783e-06/0.5987, allocations: 4.062 kB / 0.6874 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002788/0.599, allocations: 77.84 kB / 0.6875 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.599, allocations: 11.33 kB / 0.6875 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.521e-06/0.599, allocations: 1.594 kB / 0.6875 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.599, allocations: 0 / 0.6875 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.5992, allocations: 19.78 kB / 0.6875 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.321e-06/0.5992, allocations: 0 / 0.6875 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.5992, allocations: 8.812 kB / 0.6875 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5993, allocations: 5.531 kB / 0.6875 GB, free: 13.37 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/0.5993, allocations: 112.1 kB / 0.6876 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.5994, allocations: 2.5 kB / 0.6876 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.5997, allocations: 85.91 kB / 0.6877 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-06/0.5997, allocations: 1.516 kB / 0.6877 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-06/0.5997, allocations: 0 / 0.6877 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5998, allocations: 1.156 kB / 0.6877 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.5999, allocations: 165.7 kB / 0.6879 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-06/0.5999, allocations: 4.594 kB / 0.6879 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.6, allocations: 15.67 kB / 0.6879 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.361e-06/0.6, allocations: 0 / 0.6879 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.183e-06/0.6001, allocations: 1.406 kB / 0.6879 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.311e-06/0.6001, allocations: 3.938 kB / 0.6879 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.422e-06/0.6001, allocations: 0.5156 kB / 0.6879 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.6004, allocations: 182.3 kB / 0.688 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.6004, allocations: 86.19 kB / 0.6881 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.6005, allocations: 0 / 0.6881 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6006, allocations: 6.812 kB / 0.6881 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.6006, allocations: 2.312 kB / 0.6881 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.6006, allocations: 7.266 kB / 0.6881 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.6007, allocations: 84.75 kB / 0.6882 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.05e-07/0.6007, allocations: 0 / 0.6882 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000325/0.601, allocations: 15.12 kB / 0.6882 GB, free: 12.66 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.6012, allocations: 112.4 kB / 0.6883 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.6015, allocations: 53.64 kB / 0.6884 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6015, allocations: 0 / 0.6884 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.6016, allocations: 25.48 kB / 0.6884 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.6018, allocations: 6.219 kB / 0.6884 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.6021, allocations: 121 kB / 0.6885 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.6023, allocations: 0.6808 MB / 0.6892 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.6023, allocations: 1.156 kB / 0.6892 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.6023, allocations: 8.906 kB / 0.6892 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of SimCode: time 1.255e-06/0.6023, allocations: 0 / 0.6892 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.003143/0.6055, allocations: 0.6285 MB / 0.6898 GB, free: 11.64 MB / 0.5261 GB