Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001165, allocations: 108.3 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 292.3 MB / 0.5495 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1927, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001518/0.1942, allocations: 0.5941 MB / 0.7847 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005474/0.1948, allocations: 342.8 kB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.1948, allocations: 4 kB / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.023e-05/0.1949, allocations: 0 / 0.785 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.857e-05/0.1949, allocations: 3.938 kB / 0.785 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.1953, allocations: 107.7 kB / 0.7851 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.1953, allocations: 8 kB / 0.7851 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.1954, allocations: 7.938 kB / 0.7851 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.1954, allocations: 3.984 kB / 0.7851 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.1954, allocations: 8 kB / 0.7851 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1954, allocations: 0 / 0.7851 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.1958, allocations: 275.7 kB / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1958, allocations: 7.969 kB / 0.7854 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.1958, allocations: 7.938 kB / 0.7854 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.196, allocations: 87.86 kB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.196, allocations: 0 / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.196, allocations: 0 / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.196, allocations: 0 / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003152/0.1963, allocations: 343.6 kB / 0.7858 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.1963, allocations: 15.97 kB / 0.7858 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.1964, allocations: 4.938 kB / 0.7858 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.55e-05/0.1965, allocations: 176.5 kB / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-06/0.1965, allocations: 384 / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1965, allocations: 4.312 kB / 0.786 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.814e-05/0.1966, allocations: 34.25 kB / 0.786 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1966, allocations: 192 / 0.786 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1966, allocations: 7.938 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1967, allocations: 0 / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.509e-05/0.1967, allocations: 4 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1968, allocations: 153.7 kB / 0.7862 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.799e-05/0.1969, allocations: 26.55 kB / 0.7862 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.1969, allocations: 12.91 kB / 0.7862 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.1975, allocations: 457.5 kB / 0.7867 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1975, allocations: 34.56 kB / 0.7867 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1975, allocations: 0 / 0.7867 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004186/0.198, allocations: 254.5 kB / 0.787 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.198, allocations: 55.41 kB / 0.787 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.1981, allocations: 97.86 kB / 0.7871 GB, free: 408 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1981, allocations: 25.7 kB / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.354e-05/0.1981, allocations: 80.14 kB / 0.7872 GB, free: 292 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.1981, allocations: 15.8 kB / 0.7872 GB, free: 276 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.1982, allocations: 17.72 kB / 0.7872 GB, free: 252 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3008/0.499, allocations: 310.8 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.605e-05/0.4991, allocations: 1.844 kB / 0.7875 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.4991, allocations: 25.22 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.717e-05/0.4991, allocations: 26.16 kB / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4992, allocations: 0 / 0.7876 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001129/0.4993, allocations: 51 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4993, allocations: 7.281 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4993, allocations: 1.75 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4993, allocations: 0 / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.4994, allocations: 13.62 kB / 0.7876 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4994, allocations: 3.75 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.4994, allocations: 3.375 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.4995, allocations: 4.281 kB / 0.7877 GB, free: 48.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.425e-05/0.4995, allocations: 109.6 kB / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.4995, allocations: 1.906 kB / 0.7878 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.4996, allocations: 56.72 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4997, allocations: 1.438 kB / 0.7878 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4997, allocations: 3.938 kB / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4997, allocations: 0.6562 kB / 0.7878 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.14e-05/0.4997, allocations: 154.4 kB / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4997, allocations: 6.094 kB / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.4998, allocations: 6.562 kB / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4998, allocations: 1.219 kB / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.4998, allocations: 0 / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4998, allocations: 0 / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4998, allocations: 8.469 kB / 0.788 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4999, allocations: 79.53 kB / 0.7881 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.5, allocations: 80.95 kB / 0.7881 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.5, allocations: 5.281 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.5, allocations: 6.5 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.5, allocations: 6.562 kB / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.5, allocations: 0 / 0.7882 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.672e-05/0.5001, allocations: 77.91 kB / 0.7882 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5001, allocations: 3.828 kB / 0.7882 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000199/0.5003, allocations: 28.55 kB / 0.7883 GB, free: 47.84 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001486/0.5004, allocations: 126.3 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.5005, allocations: 14.44 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5005, allocations: 0 / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.5005, allocations: 16.59 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.5007, allocations: 7.312 kB / 0.7884 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.5009, allocations: 105.2 kB / 0.7885 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.127e-05/0.5009, allocations: 0.6804 MB / 0.7892 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.501, allocations: 2.125 kB / 0.7892 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.501, allocations: 10.31 kB / 0.7892 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.501, allocations: 0 / 0.7892 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.002449/0.5034, allocations: 0.8663 MB / 0.79 GB, free: 46.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)