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.001274/0.001275, allocations: 100 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.001631/0.001631, 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.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.825/1.825, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.000537/0.000537, allocations: 16 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2702, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001673/0.2719, allocations: 1.152 MB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.2725, allocations: 365.1 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.2726, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.2726, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.373e-05/0.2727, allocations: 4 kB / 0.7886 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.273, allocations: 71.78 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.273, allocations: 19.91 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.594e-05/0.2731, allocations: 4 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.2731, allocations: 11.98 kB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.2732, allocations: 11.94 kB / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.2732, allocations: 0 / 0.7887 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.2735, allocations: 255.7 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.2735, allocations: 3.984 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.2736, allocations: 29.7 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2737, allocations: 71.86 kB / 0.789 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2737, allocations: 0 / 0.789 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2737, allocations: 0 / 0.789 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.2737, allocations: 0 / 0.789 GB, free: 9.977 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004139/0.2741, allocations: 367.5 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2742, allocations: 8.031 kB / 0.7894 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.2742, allocations: 7.938 kB / 0.7894 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2743, allocations: 167 kB / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2744, allocations: 7.938 kB / 0.7896 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2744, allocations: 0 / 0.7896 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2745, allocations: 57.67 kB / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2746, allocations: 0 / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2746, allocations: 0 / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2746, allocations: 0 / 0.7896 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.2748, allocations: 43.97 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.2751, allocations: 264.8 kB / 0.7899 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2752, allocations: 38.56 kB / 0.79 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006514/0.2759, allocations: 469.5 kB / 0.7904 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2759, allocations: 30.56 kB / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2759, allocations: 0 / 0.7904 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003755/0.2763, allocations: 105.6 kB / 0.7905 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.2763, allocations: 51.41 kB / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.2764, allocations: 110 kB / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.2764, allocations: 25.7 kB / 0.7907 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.2765, allocations: 80.14 kB / 0.7908 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.2765, allocations: 15.84 kB / 0.7908 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.2765, allocations: 0 / 0.7908 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2766, allocations: 314.8 kB / 0.7911 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.2767, allocations: 27.97 kB / 0.7911 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.2768, allocations: 23.92 kB / 0.7912 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.83e-05/0.2769, allocations: 23.98 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2769, allocations: 0 / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.2771, allocations: 77.72 kB / 0.7913 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2771, allocations: 10.81 kB / 0.7913 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2771, allocations: 0 / 0.7913 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2772, allocations: 3.938 kB / 0.7913 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.2772, allocations: 11.98 kB / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2773, allocations: 0 / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.2773, allocations: 12.28 kB / 0.7913 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.2773, allocations: 0 / 0.7913 GB, free: 7.367 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 (2): * Single equations (assignments): 2 * 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 7.819e-05/0.2774, allocations: 117.8 kB / 0.7914 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.2774, allocations: 7.906 kB / 0.7914 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.2777, allocations: 93.12 kB / 0.7915 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2777, allocations: 0 / 0.7915 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2777, allocations: 0 / 0.7915 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2777, allocations: 3.984 kB / 0.7915 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.2779, allocations: 165.6 kB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2779, allocations: 0 / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.2779, allocations: 11.94 kB / 0.7917 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2779, allocations: 4.031 kB / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.278, allocations: 3.984 kB / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.278, allocations: 0 / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.278, allocations: 0 / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2782, allocations: 179.5 kB / 0.7919 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.2783, allocations: 77.11 kB / 0.7919 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.2783, allocations: 0 / 0.7919 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.2784, allocations: 8 kB / 0.7919 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.2784, allocations: 3.984 kB / 0.7919 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.2784, allocations: 0 / 0.7919 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.2785, allocations: 87.28 kB / 0.792 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2785, allocations: 32 / 0.792 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002199/0.2787, allocations: 19.91 kB / 0.792 GB, free: 6.496 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 (2): * Single equations (assignments): 2 * 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.0001641/0.2789, allocations: 111.2 kB / 0.7922 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.2791, allocations: 47.91 kB / 0.7922 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2791, allocations: 4.062 kB / 0.7922 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.2792, allocations: 27.97 kB / 0.7922 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.2794, allocations: 3.938 kB / 0.7922 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.2796, allocations: 124.6 kB / 0.7924 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2799, allocations: 0.681 MB / 0.793 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.2799, allocations: 3.938 kB / 0.793 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.2799, allocations: 11.44 kB / 0.793 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2799, allocations: 0 / 0.793 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.002524/0.2825, allocations: 0.6203 MB / 0.7936 GB, free: 4.812 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: