Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.82/1.82, allocations: 288.4 MB / 303.4 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000964/0.000964, allocations: 179.7 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007878/0.0007879, allocations: 94.91 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004446, allocations: 16.25 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2881, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00164/0.2898, allocations: 1.148 MB / 0.9807 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000637/0.2905, allocations: 352.8 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.2905, allocations: 0 / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.2905, allocations: 3.984 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.319e-05/0.2906, allocations: 4 kB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.2909, allocations: 79.78 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.291, allocations: 19.94 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.2911, allocations: 15.91 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.2912, allocations: 4 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.2912, allocations: 15.91 kB / 0.9812 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2912, allocations: 4 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.2916, allocations: 263.7 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.2916, allocations: 4 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.2916, allocations: 29.7 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.2917, allocations: 67.88 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2917, allocations: 0 / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2917, allocations: 0 / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2918, allocations: 0 / 0.9815 GB, free: 25.66 MB / 0.6198 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.0004442/0.2922, allocations: 375.5 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2923, allocations: 12.02 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.2923, allocations: 4 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2924, allocations: 167 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2925, allocations: 4 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.2925, allocations: 0 / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.2927, allocations: 53.67 kB / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2927, allocations: 0 / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2927, allocations: 0 / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2927, allocations: 0 / 0.9821 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.2929, allocations: 47.95 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2932, allocations: 260.8 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2934, allocations: 46.55 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/0.2935, allocations: 24.91 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/0.2941, allocations: 461.5 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2941, allocations: 38.55 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.2941, allocations: 0 / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003659/0.2945, allocations: 101.5 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2945, allocations: 55.41 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.545e-05/0.2946, allocations: 105.8 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2946, allocations: 29.7 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2946, allocations: 88.27 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.2947, allocations: 11.83 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.2947, allocations: 0 / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.2947, allocations: 318.7 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.2948, allocations: 23.98 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.2949, allocations: 23.98 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.295, allocations: 23.97 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.295, allocations: 0 / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.2952, allocations: 81.67 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2952, allocations: 4 kB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2952, allocations: 0 / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2952, allocations: 0 / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.2953, allocations: 11.98 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2954, allocations: 4 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.2954, allocations: 8.016 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2954, allocations: 4 kB / 0.9838 GB, free: 23.01 MB / 0.6198 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 6.003e-05/0.2955, allocations: 117.8 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.2955, allocations: 3.906 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.2957, allocations: 89.17 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2958, allocations: 4 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2958, allocations: 0 / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2958, allocations: 3.984 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.2959, allocations: 165.5 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2959, allocations: 0 / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.296, allocations: 11.98 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.296, allocations: 0 / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.296, allocations: 4 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.296, allocations: 4.031 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.296, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.2963, allocations: 171.5 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.2963, allocations: 85.14 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2963, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.2964, allocations: 11.92 kB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.2964, allocations: 7.984 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2965, allocations: 0 / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.015e-05/0.2965, allocations: 87.52 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 0 / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002156/0.2967, allocations: 15.91 kB / 0.9846 GB, free: 22.14 MB / 0.6198 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.000157/0.2969, allocations: 111.2 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.2971, allocations: 47.95 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2971, allocations: 0 / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.2972, allocations: 28.05 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.2975, allocations: 7.953 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.2977, allocations: 112.6 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.2979, allocations: 0.6772 MB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.2979, allocations: 8.062 kB / 0.9855 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.2979, allocations: 11.38 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2979, allocations: 0 / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.002656/0.3006, allocations: 0.6305 MB / 0.9861 GB, free: 20.46 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)