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.001113/0.001113, allocations: 103.9 kB / 16.36 MB, free: 6.418 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.001151/0.001151, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001408/0.001408, allocations: 63.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2209, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001702/0.2226, allocations: 0.5942 MB / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005957/0.2232, allocations: 350.7 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.2233, allocations: 0 / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.2233, allocations: 0 / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 1.518e-05/0.2233, allocations: 0 / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.2237, allocations: 123.6 kB / 0.7858 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.659e-05/0.2238, allocations: 4 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.2238, allocations: 0 / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.2239, allocations: 15.92 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.2239, allocations: 4 kB / 0.7858 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2239, allocations: 4 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.2243, allocations: 263.7 kB / 0.7861 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.2243, allocations: 15.97 kB / 0.7861 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.2243, allocations: 3.938 kB / 0.7861 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2245, allocations: 87.86 kB / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2245, allocations: 0 / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2245, allocations: 0 / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2245, allocations: 4 kB / 0.7862 GB, free: 1.727 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.0003405/0.2249, allocations: 339.6 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2249, allocations: 12.03 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.225, allocations: 0.9375 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.2251, allocations: 172.2 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2251, allocations: 4.375 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.2251, allocations: 384 / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.261e-05/0.2252, allocations: 38.25 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.2252, allocations: 192 / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2253, allocations: 3.938 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2253, allocations: 4 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.2253, allocations: 7.938 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.2255, allocations: 153.7 kB / 0.7869 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.427e-05/0.2256, allocations: 22.52 kB / 0.7869 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.2256, allocations: 4.859 kB / 0.7869 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007953/0.2264, allocations: 469.5 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2264, allocations: 30.56 kB / 0.7874 GB, free: 240 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2264, allocations: 0 / 0.7874 GB, free: 240 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.3457/0.5722, allocations: 253 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.5722, allocations: 52.88 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.108e-05/0.5723, allocations: 93.2 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.5723, allocations: 26.61 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.365e-05/0.5723, allocations: 83.33 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.5723, allocations: 9.562 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.5724, allocations: 17.58 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/0.5724, allocations: 314.4 kB / 0.7882 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.5725, allocations: 8.078 kB / 0.7882 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.5725, allocations: 18.75 kB / 0.7883 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.302e-05/0.5725, allocations: 28.27 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5725, allocations: 0.6562 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/0.5726, allocations: 52.64 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5727, allocations: 6.656 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5727, allocations: 0.7031 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.5727, allocations: 7.375 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.5728, allocations: 11.39 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5728, allocations: 0 / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.5728, allocations: 2.844 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5728, allocations: 6.844 kB / 0.7884 GB, free: 48.21 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.266e-05/0.5729, allocations: 114.8 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.5729, allocations: 3.906 kB / 0.7885 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.573, allocations: 55.23 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.573, allocations: 0 / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5731, allocations: 1.125 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5731, allocations: 2.656 kB / 0.7885 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.467e-05/0.5731, allocations: 155.1 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5731, allocations: 4.531 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.5732, allocations: 5.812 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5732, allocations: 5.109 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.5732, allocations: 2.969 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.5732, allocations: 3.656 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5732, allocations: 3.188 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.5734, allocations: 77.06 kB / 0.7888 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.5734, allocations: 82.66 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.5734, allocations: 5.875 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.28e-05/0.5735, allocations: 0 / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.5735, allocations: 3.812 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5735, allocations: 2.016 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.972e-05/0.5735, allocations: 85.3 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5735, allocations: 0 / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002309/0.5738, allocations: 22.5 kB / 0.789 GB, free: 47.64 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.0001687/0.5739, allocations: 126.8 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.845e-05/0.574, allocations: 21.75 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.574, allocations: 0 / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.5741, allocations: 5.375 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.5742, allocations: 6.938 kB / 0.7891 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.5744, allocations: 115.8 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.5745, allocations: 0.6765 MB / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.5745, allocations: 2.688 kB / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.5746, allocations: 11.09 kB / 0.7899 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5746, allocations: 0 / 0.7899 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.002665/0.5772, allocations: 0.8692 MB / 0.7908 GB, free: 46.75 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)