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.0008616/0.0008616, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009109/0.0009114, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.744/1.744, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0005418/0.0005418, allocations: 14.59 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.000739/0.264, allocations: 335.4 kB / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.2646, allocations: 319.2 kB / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.2647, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.017e-05/0.2647, allocations: 0 / 0.7879 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.748e-05/0.2647, allocations: 3.938 kB / 0.7879 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.2651, allocations: 71.84 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.657e-05/0.2651, allocations: 7.984 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.2652, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.2652, allocations: 8 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.2652, allocations: 15.91 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2653, allocations: 4 kB / 0.788 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.2656, allocations: 259.7 kB / 0.7883 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-06/0.2656, allocations: 0 / 0.7883 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.2657, allocations: 29.7 kB / 0.7883 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2658, allocations: 63.89 kB / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2658, allocations: 0 / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2658, allocations: 0 / 0.7884 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2658, allocations: 0 / 0.7884 GB, free: 10.82 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003343/0.2662, allocations: 335.4 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2662, allocations: 15.97 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.2663, allocations: 0 / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2664, allocations: 170.9 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2664, allocations: 0 / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.2664, allocations: 11.92 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.139e-05/0.2665, allocations: 37.62 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2666, allocations: 0 / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.2666, allocations: 0 / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.2666, allocations: 0 / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.2666, allocations: 8 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.2668, allocations: 153.9 kB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.2668, allocations: 26.61 kB / 0.7891 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.2669, allocations: 4.859 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.2676, allocations: 465.5 kB / 0.7895 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2676, allocations: 34.5 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2677, allocations: 0 / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005708/0.2682, allocations: 254.5 kB / 0.7898 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.2683, allocations: 51.41 kB / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.2684, allocations: 93.86 kB / 0.7899 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2684, allocations: 29.7 kB / 0.79 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.2684, allocations: 84.12 kB / 0.7901 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.2685, allocations: 11.81 kB / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.2685, allocations: 0 / 0.7901 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2686, allocations: 319 kB / 0.7904 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.2686, allocations: 4 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.2687, allocations: 17.7 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.2687, allocations: 8 kB / 0.7904 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2687, allocations: 3.953 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.09e-05/0.2688, allocations: 49.64 kB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2688, allocations: 11.98 kB / 0.7905 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2688, allocations: 4.062 kB / 0.7905 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2689, allocations: 0 / 0.7905 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.2689, allocations: 8 kB / 0.7905 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2689, allocations: 0 / 0.7905 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.269, allocations: 4 kB / 0.7905 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.269, allocations: 0 / 0.7905 GB, free: 8.293 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.261e-05/0.2691, allocations: 114.5 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2691, allocations: 3.953 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.2692, allocations: 68.98 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2693, allocations: 0 / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2693, allocations: 4 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2693, allocations: 0 / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2694, allocations: 157.7 kB / 0.7908 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2694, allocations: 0 / 0.7908 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.2695, allocations: 7.953 kB / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2695, allocations: 0 / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2695, allocations: 0 / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2695, allocations: 0 / 0.7908 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2695, allocations: 4 kB / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.2697, allocations: 89.19 kB / 0.7909 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.2697, allocations: 81.09 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2697, allocations: 3.953 kB / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.2698, allocations: 0 / 0.791 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.2698, allocations: 4.031 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2698, allocations: 4 kB / 0.791 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.2698, allocations: 87.33 kB / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2698, allocations: 0 / 0.7911 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002032/0.2701, allocations: 16 kB / 0.7911 GB, free: 7.551 MB / 0.6075 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 (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.0002205/0.2703, allocations: 123.2 kB / 0.7912 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.2704, allocations: 19.94 kB / 0.7912 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2704, allocations: 0 / 0.7912 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.2704, allocations: 11.98 kB / 0.7912 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.2706, allocations: 6.656 kB / 0.7913 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.2708, allocations: 116.9 kB / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.271, allocations: 0.6731 MB / 0.792 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.2711, allocations: 4 kB / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.578e-05/0.2711, allocations: 7.438 kB / 0.792 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2711, allocations: 0 / 0.792 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.00274/0.2739, allocations: 0.8534 MB / 0.7929 GB, free: 5.688 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: