Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001037/0.001037, allocations: 177.3 kB / 15.95 MB, free: 216 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.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.814/1.814, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005367/0.0005368, allocations: 16.81 kB / 0.6736 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2726, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007462/0.2734, allocations: 313.8 kB / 0.7874 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005764/0.274, allocations: 297 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.274, allocations: 3.938 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.274, allocations: 0 / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-06/0.274, allocations: 4 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.2744, allocations: 71.78 kB / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.813e-05/0.2745, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.2745, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.2745, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.2746, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2746, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.275, allocations: 259.6 kB / 0.788 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.275, allocations: 7.938 kB / 0.788 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.2751, allocations: 25.7 kB / 0.7881 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2752, allocations: 51.89 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2752, allocations: 8 kB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2752, allocations: 4 kB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2752, allocations: 0 / 0.7881 GB, free: 10.95 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000297/0.2755, allocations: 327.4 kB / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2756, allocations: 12.03 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.2756, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2757, allocations: 163 kB / 0.7886 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2758, allocations: 0 / 0.7886 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.2758, allocations: 0 / 0.7886 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.2759, allocations: 29.7 kB / 0.7886 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2759, allocations: 4 kB / 0.7886 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2759, allocations: 0 / 0.7886 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2759, allocations: 0 / 0.7886 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.276, allocations: 3.938 kB / 0.7886 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.2761, allocations: 165.6 kB / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.2762, allocations: 14.58 kB / 0.7888 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/0.2767, allocations: 429.6 kB / 0.7892 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2768, allocations: 30.56 kB / 0.7893 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.775e-06/0.2768, allocations: 0 / 0.7893 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001699/0.277, allocations: 45.56 kB / 0.7893 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.277, allocations: 51.41 kB / 0.7893 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.771e-05/0.2771, allocations: 93.86 kB / 0.7894 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2771, allocations: 29.83 kB / 0.7895 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.2771, allocations: 80.14 kB / 0.7895 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.2772, allocations: 3.906 kB / 0.7895 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2772, allocations: 0 / 0.7895 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.2773, allocations: 310.8 kB / 0.7898 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.2773, allocations: 4 kB / 0.7898 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.2773, allocations: 0 / 0.7898 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.749e-05/0.2774, allocations: 3.938 kB / 0.7898 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2774, allocations: 0 / 0.7898 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.778e-05/0.2774, allocations: 45.7 kB / 0.7899 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.2775, allocations: 4 kB / 0.7899 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2775, allocations: 3.938 kB / 0.7899 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2775, allocations: 0 / 0.7899 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.2776, allocations: 4 kB / 0.7899 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2776, allocations: 0 / 0.7899 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.2776, allocations: 0 / 0.7899 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2776, allocations: 0 / 0.7899 GB, free: 8.824 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 (1): * Single equations (assignments): 1 * 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 8.962e-05/0.2777, allocations: 109.8 kB / 0.79 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.2777, allocations: 11.98 kB / 0.79 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.2778, allocations: 36.81 kB / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2778, allocations: 0 / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2778, allocations: 0 / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2779, allocations: 0 / 0.7901 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.278, allocations: 145.7 kB / 0.7902 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.278, allocations: 4 kB / 0.7902 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.297e-05/0.278, allocations: 3.984 kB / 0.7902 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.278, allocations: 0 / 0.7902 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.278, allocations: 11.92 kB / 0.7902 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.278, allocations: 0 / 0.7902 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.278, allocations: 0 / 0.7902 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.645e-05/0.2781, allocations: 53.14 kB / 0.7903 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.2782, allocations: 77.39 kB / 0.7903 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2782, allocations: 7.969 kB / 0.7903 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.2782, allocations: 19.89 kB / 0.7904 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.2782, allocations: 4.031 kB / 0.7904 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2782, allocations: 0 / 0.7904 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.2783, allocations: 76.48 kB / 0.7904 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2783, allocations: 0 / 0.7904 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000204/0.2785, allocations: 8 kB / 0.7904 GB, free: 8.16 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001879/0.2787, allocations: 111.2 kB / 0.7906 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.875e-05/0.2788, allocations: 11.92 kB / 0.7906 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2788, allocations: 0 / 0.7906 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.39e-06/0.2788, allocations: 4.062 kB / 0.7906 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.726e-05/0.2789, allocations: 7.938 kB / 0.7906 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.279, allocations: 74.77 kB / 0.7906 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.2793, allocations: 0.677 MB / 0.7913 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.784e-05/0.2793, allocations: 3.984 kB / 0.7913 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.2793, allocations: 7.438 kB / 0.7913 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2794, allocations: 3.938 kB / 0.7913 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.002254/0.2816, allocations: 431.8 kB / 0.7917 GB, free: 6.777 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: