Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001533/0.001533, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.411/1.411, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.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.695/1.695, allocations: 292.3 MB / 0.5492 GB, free: 13.56 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.001502/0.001503, allocations: 69.86 kB / 0.6717 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2239, allocations: 114.6 MB / 0.7835 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001993/0.2259, allocations: 0.6898 MB / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006729/0.2266, allocations: 342.8 kB / 0.7845 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.343e-05/0.2267, allocations: 4 kB / 0.7845 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.2267, allocations: 0 / 0.7845 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.2267, allocations: 3.938 kB / 0.7845 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.2273, allocations: 103.8 kB / 0.7846 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.2273, allocations: 23.92 kB / 0.7847 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.2274, allocations: 0 / 0.7847 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.2274, allocations: 12 kB / 0.7847 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.923e-05/0.2275, allocations: 11.92 kB / 0.7847 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2275, allocations: 11.98 kB / 0.7847 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.2278, allocations: 279.6 kB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.2279, allocations: 3.938 kB / 0.785 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.2279, allocations: 11.94 kB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.228, allocations: 63.88 kB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2281, allocations: 0 / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2281, allocations: 0 / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2281, allocations: 0 / 0.785 GB, free: 12.3 MB / 0.6075 GB 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.0004461/0.2285, allocations: 367.7 kB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2286, allocations: 12.03 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.2286, allocations: 4.938 kB / 0.7854 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2288, allocations: 168.3 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.2288, allocations: 384 / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2288, allocations: 12.28 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.229, allocations: 46.25 kB / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.229, allocations: 192 / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.229, allocations: 11.92 kB / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.229, allocations: 0 / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/0.2291, allocations: 15.98 kB / 0.7856 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.2292, allocations: 169.7 kB / 0.7858 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.2293, allocations: 58.5 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.2294, allocations: 32.84 kB / 0.7859 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007078/0.2301, allocations: 461.4 kB / 0.7863 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.2302, allocations: 38.55 kB / 0.7864 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.2302, allocations: 3.938 kB / 0.7864 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001324/0.2316, allocations: 0.5851 MB / 0.7869 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2316, allocations: 51.41 kB / 0.787 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.2317, allocations: 97.86 kB / 0.7871 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2317, allocations: 25.7 kB / 0.7871 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.2317, allocations: 88.08 kB / 0.7872 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.2318, allocations: 43.36 kB / 0.7872 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.2318, allocations: 37.64 kB / 0.7873 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2319, allocations: 310.8 kB / 0.7876 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.232, allocations: 24.08 kB / 0.7876 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.232, allocations: 19.94 kB / 0.7876 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.2321, allocations: 61.84 kB / 0.7877 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2321, allocations: 4 kB / 0.7877 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001471/0.2323, allocations: 89.62 kB / 0.7878 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2323, allocations: 4 kB / 0.7878 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2323, allocations: 0 / 0.7878 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2323, allocations: 8 kB / 0.7878 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2325, allocations: 27.92 kB / 0.7878 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2325, allocations: 0 / 0.7878 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.2325, allocations: 0 / 0.7878 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2325, allocations: 4 kB / 0.7878 GB, free: 9.059 MB / 0.6075 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 (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 7.427e-05/0.2326, allocations: 114.5 kB / 0.7879 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.2326, allocations: 15.83 kB / 0.7879 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.2329, allocations: 113.5 kB / 0.788 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2329, allocations: 0 / 0.788 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2329, allocations: 8 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2329, allocations: 0 / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.2333, allocations: 350.7 kB / 0.7884 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2333, allocations: 0 / 0.7884 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2335, allocations: 31.92 kB / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2335, allocations: 0 / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2335, allocations: 0 / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2335, allocations: 0 / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2336, allocations: 4 kB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.2338, allocations: 226.4 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.2339, allocations: 85.12 kB / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2339, allocations: 4.188 kB / 0.7887 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.234, allocations: 4 kB / 0.7887 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.234, allocations: 11.97 kB / 0.7887 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.234, allocations: 7.938 kB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.2341, allocations: 79.28 kB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2341, allocations: 4.062 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002893/0.2344, allocations: 47.92 kB / 0.7889 GB, free: 7.867 MB / 0.6075 GB 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.0002342/0.2346, allocations: 139.2 kB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.2348, allocations: 71.8 kB / 0.7891 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2348, allocations: 0 / 0.7891 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.2349, allocations: 35.98 kB / 0.7891 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2351, allocations: 4 kB / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.2355, allocations: 227.8 kB / 0.7893 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.2358, allocations: 0.6846 MB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.2358, allocations: 15.44 kB / 0.79 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2358, allocations: 0 / 0.79 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of Templates: time 0.002844/0.2387, allocations: 1.211 MB / 0.7912 GB, free: 5.418 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)