Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.00155, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001522/0.001522, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.471/1.471, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.801/1.801, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001617/0.001617, allocations: 67.89 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2695, allocations: 114.5 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003065/0.2726, allocations: 1.434 MB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.2735, allocations: 387.5 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.2735, allocations: 0 / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.2736, allocations: 0 / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/0.2736, allocations: 7.875 kB / 0.7858 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.2741, allocations: 117.6 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.2742, allocations: 23.98 kB / 0.7859 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.2743, allocations: 8 kB / 0.7859 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.2743, allocations: 4 kB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.2744, allocations: 15.92 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2744, allocations: 3.938 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003801/0.2748, allocations: 275.6 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.2748, allocations: 15.92 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2748, allocations: 7.938 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.275, allocations: 103.8 kB / 0.7863 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2751, allocations: 0 / 0.7863 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2751, allocations: 4 kB / 0.7863 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2751, allocations: 0 / 0.7863 GB, free: 1.457 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005183/0.2756, allocations: 363.6 kB / 0.7867 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2756, allocations: 16.02 kB / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.2757, allocations: 0.9375 kB / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2759, allocations: 172.2 kB / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.2759, allocations: 384 / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2759, allocations: 384 / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.2761, allocations: 54.23 kB / 0.7869 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2761, allocations: 192 / 0.7869 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2761, allocations: 3.938 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2761, allocations: 0 / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.2763, allocations: 43.88 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.2767, allocations: 249 kB / 0.7872 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2768, allocations: 46.48 kB / 0.7873 GB, free: 384 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.2769, allocations: 20.91 kB / 0.7873 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4429/0.7199, allocations: 458.8 kB / 0.7877 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.72, allocations: 32.31 kB / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.514e-06/0.72, allocations: 0 / 0.7877 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004494/0.7204, allocations: 82.69 kB / 0.7878 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.7205, allocations: 54.12 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.644e-05/0.7205, allocations: 111.2 kB / 0.788 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.7205, allocations: 25.7 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.7206, allocations: 86.61 kB / 0.7881 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.7206, allocations: 13.03 kB / 0.7881 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.7206, allocations: 9.719 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.7207, allocations: 314.4 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.891e-05/0.7208, allocations: 19.41 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.7209, allocations: 14.75 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.721, allocations: 45.34 kB / 0.7885 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.721, allocations: 2.875 kB / 0.7885 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.7212, allocations: 68.61 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.7213, allocations: 5 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7213, allocations: 3.719 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7213, allocations: 3.031 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.307e-05/0.7214, allocations: 11.88 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.7214, allocations: 0 / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.7214, allocations: 8.609 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.7214, allocations: 0 / 0.7886 GB, free: 47.94 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 (2): * Single equations (assignments): 2 * 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 5.71e-05/0.7215, allocations: 114.5 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.7216, allocations: 2.281 kB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.7218, allocations: 76.48 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7218, allocations: 3.375 kB / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7218, allocations: 0 / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7218, allocations: 0 / 0.7888 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.7219, allocations: 167.8 kB / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7219, allocations: 0 / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.722, allocations: 14.83 kB / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.722, allocations: 0 / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.722, allocations: 0 / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.722, allocations: 0 / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.722, allocations: 1.094 kB / 0.7889 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.7223, allocations: 173.5 kB / 0.7891 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.7223, allocations: 77.11 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.7223, allocations: 3.969 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.7224, allocations: 9.641 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.7224, allocations: 3.875 kB / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.7224, allocations: 0 / 0.7892 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.7225, allocations: 88.69 kB / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7225, allocations: 0 / 0.7893 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002343/0.7227, allocations: 15.41 kB / 0.7893 GB, free: 47.3 MB / 0.6544 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 (2): * Single equations (assignments): 2 * 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.0001484/0.7229, allocations: 110.3 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.7231, allocations: 38.94 kB / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7231, allocations: 0 / 0.7894 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.7232, allocations: 19.58 kB / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.7234, allocations: 15.11 kB / 0.7895 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.7237, allocations: 132.9 kB / 0.7896 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.7239, allocations: 0.6769 MB / 0.7903 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.7239, allocations: 11.09 kB / 0.7903 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7239, allocations: 0 / 0.7903 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.002017/0.7259, allocations: 0.699 MB / 0.791 GB, free: 46.38 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)