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.00081/0.0008102, allocations: 84.38 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.0009737/0.000974, 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.83/1.83, 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.757/1.757, 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.0005735/0.0005736, allocations: 20.56 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2709, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007819/0.2718, allocations: 319.5 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006166/0.2724, allocations: 303.2 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.375e-05/0.2724, allocations: 0 / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.628e-06/0.2724, allocations: 0 / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.2724, allocations: 0 / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.2728, allocations: 67.86 kB / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.934e-05/0.2728, allocations: 0 / 0.788 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.2729, allocations: 3.984 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.2729, allocations: 4 kB / 0.788 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.2729, allocations: 7.984 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.273, allocations: 0 / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.2734, allocations: 263.7 kB / 0.7882 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.911e-06/0.2734, allocations: 0 / 0.7882 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.2734, allocations: 25.7 kB / 0.7883 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2735, allocations: 51.91 kB / 0.7883 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2735, allocations: 0 / 0.7883 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2735, allocations: 0 / 0.7883 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2736, allocations: 0 / 0.7883 GB, free: 10.9 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.0002981/0.2739, allocations: 343.4 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2739, allocations: 8.031 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.274, allocations: 4 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.274, allocations: 167 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2741, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.2741, allocations: 3.938 kB / 0.7888 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.2742, allocations: 25.7 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2742, allocations: 4 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2742, allocations: 0 / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2742, allocations: 4 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.2743, allocations: 0 / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.2744, allocations: 153.6 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.2744, allocations: 22.55 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.2745, allocations: 8.844 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/0.2749, allocations: 429.6 kB / 0.7894 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.275, allocations: 30.56 kB / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.275, allocations: 0 / 0.7895 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.2751, allocations: 33.7 kB / 0.7895 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.2752, allocations: 55.34 kB / 0.7895 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.362e-05/0.2752, allocations: 89.86 kB / 0.7896 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.2752, allocations: 25.7 kB / 0.7896 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.2753, allocations: 84.27 kB / 0.7897 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2753, allocations: 7.906 kB / 0.7897 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.2753, allocations: 0 / 0.7897 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2754, allocations: 314.8 kB / 0.79 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.2755, allocations: 4 kB / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-06/0.2755, allocations: 0 / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.645e-05/0.2755, allocations: 0 / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2755, allocations: 0 / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.036e-05/0.2756, allocations: 41.72 kB / 0.7901 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2756, allocations: 4 kB / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2756, allocations: 0 / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2756, allocations: 0 / 0.7901 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.2757, allocations: 4 kB / 0.7901 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2757, allocations: 3.938 kB / 0.7901 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.2757, allocations: 3.984 kB / 0.7901 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2757, allocations: 3.984 kB / 0.7901 GB, free: 8.754 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 6.84e-05/0.2758, allocations: 109.8 kB / 0.7902 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.2758, allocations: 11.98 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.2759, allocations: 32.83 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2759, allocations: 0 / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2759, allocations: 0 / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2759, allocations: 3.984 kB / 0.7902 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.452e-05/0.276, allocations: 145.7 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.276, allocations: 4 kB / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.276, allocations: 3.938 kB / 0.7904 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.276, allocations: 3.953 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.276, allocations: 7.969 kB / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2761, allocations: 0 / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.2761, allocations: 4 kB / 0.7904 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.236e-05/0.2761, allocations: 61.06 kB / 0.7905 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.2762, allocations: 77.39 kB / 0.7905 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.2762, allocations: 3.953 kB / 0.7905 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-06/0.2762, allocations: 4 kB / 0.7905 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.2762, allocations: 32 / 0.7905 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.2762, allocations: 4 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.2763, allocations: 75.28 kB / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2763, allocations: 0 / 0.7906 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002181/0.2765, allocations: 11.98 kB / 0.7906 GB, free: 8.094 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.0001771/0.2767, allocations: 115.2 kB / 0.7907 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.2768, allocations: 7.938 kB / 0.7908 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2768, allocations: 0 / 0.7908 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.2768, allocations: 4.062 kB / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.2769, allocations: 7.938 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.2771, allocations: 78.48 kB / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2773, allocations: 0.6692 MB / 0.7915 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.2774, allocations: 7.984 kB / 0.7915 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.2774, allocations: 7.438 kB / 0.7915 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2774, allocations: 0 / 0.7915 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.00255/0.2799, allocations: 443.8 kB / 0.7919 GB, free: 6.707 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: