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.001184/0.001185, allocations: 109.8 kB / 16.37 MB, free: 6 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.001134/0.001134, allocations: 193.8 kB / 17.31 MB, free: 5.617 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.584/1.584, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.856/1.856, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001481/0.001481, allocations: 84.09 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2763, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00234/0.2787, allocations: 0.6287 MB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008143/0.2795, allocations: 346.7 kB / 0.7858 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.2795, allocations: 0 / 0.7858 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.2796, allocations: 0 / 0.7858 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.2797, allocations: 4 kB / 0.7858 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.2803, allocations: 119.6 kB / 0.7859 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.2804, allocations: 23.98 kB / 0.7859 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.2805, allocations: 3.984 kB / 0.7859 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.2805, allocations: 11.94 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.2806, allocations: 11.98 kB / 0.7859 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.2806, allocations: 3.938 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.2811, allocations: 275.6 kB / 0.7862 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.2811, allocations: 3.984 kB / 0.7862 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.2811, allocations: 11.94 kB / 0.7862 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.2814, allocations: 103.8 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2814, allocations: 0 / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2814, allocations: 4 kB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.2814, allocations: 0 / 0.7863 GB, free: 1.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005164/0.2819, allocations: 367.3 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.282, allocations: 8.031 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.2821, allocations: 4.938 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2822, allocations: 164.4 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2822, allocations: 4.375 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.2823, allocations: 12.36 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.2824, allocations: 46.25 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2824, allocations: 192 / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2825, allocations: 11.94 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2825, allocations: 3.938 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.2825, allocations: 19.98 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.2828, allocations: 165.5 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.2829, allocations: 58.55 kB / 0.7871 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.2829, allocations: 28.86 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007371/0.2837, allocations: 469.6 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.2837, allocations: 34.55 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2837, allocations: 4 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.4973/0.7811, allocations: 0.5761 MB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.7812, allocations: 54.47 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.969e-05/0.7812, allocations: 99.05 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.7812, allocations: 27.61 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.7813, allocations: 83.52 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.7813, allocations: 41.67 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.7814, allocations: 26.28 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.7814, allocations: 320.5 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.7815, allocations: 22.19 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.7815, allocations: 29.97 kB / 0.7889 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.7816, allocations: 51.3 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7816, allocations: 2.688 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000143/0.7818, allocations: 104.1 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7818, allocations: 2.562 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7818, allocations: 2.906 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.7818, allocations: 0 / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.7819, allocations: 25.58 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.782, allocations: 0 / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.782, allocations: 4.312 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.782, allocations: 3.75 kB / 0.7891 GB, free: 47.91 MB / 0.6544 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 6.637e-05/0.7821, allocations: 120.7 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.7821, allocations: 2.938 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.7823, allocations: 112.7 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7823, allocations: 2.625 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7823, allocations: 3.719 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7823, allocations: 1.172 kB / 0.7893 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.7827, allocations: 352.4 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7827, allocations: 0 / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.7828, allocations: 23.19 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7828, allocations: 0 / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.7828, allocations: 8.406 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7828, allocations: 0 / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7828, allocations: 0.75 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.783, allocations: 229.2 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.7831, allocations: 87.02 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.7831, allocations: 7.281 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.7832, allocations: 7.438 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.7832, allocations: 6 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.7833, allocations: 9.812 kB / 0.79 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.7833, allocations: 82.97 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7833, allocations: 0.5938 kB / 0.7901 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002896/0.7836, allocations: 47.55 kB / 0.7901 GB, free: 47.16 MB / 0.6544 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.0002378/0.7838, allocations: 136.3 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.784, allocations: 68.45 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.784, allocations: 3.125 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.7841, allocations: 33.95 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.7843, allocations: 8.25 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.7847, allocations: 190.9 kB / 0.7905 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.7848, allocations: 0.6853 MB / 0.7912 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.7848, allocations: 22.12 kB / 0.7912 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.7849, allocations: 0.9375 kB / 0.7912 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.003421/0.7883, allocations: 1.21 MB / 0.7924 GB, free: 46.19 MB / 0.6544 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)