Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001366/0.001366, allocations: 182.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.000994/0.0009937, allocations: 100.1 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000752/0.0007526, allocations: 13.95 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2383, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009987/0.2393, allocations: 323.5 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000965/0.2403, allocations: 291.3 kB / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.105e-05/0.2404, allocations: 0 / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.2404, allocations: 0 / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.036e-06/0.2404, allocations: 0 / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.2411, allocations: 75.78 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.2411, allocations: 4 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.2412, allocations: 0 / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.2412, allocations: 3.984 kB / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.2413, allocations: 0 / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.2413, allocations: 0 / 0.979 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.242, allocations: 267.7 kB / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.2421, allocations: 0 / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.2421, allocations: 29.7 kB / 0.9793 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2423, allocations: 51.91 kB / 0.9794 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2423, allocations: 4 kB / 0.9794 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2424, allocations: 0 / 0.9794 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2424, allocations: 0 / 0.9794 GB, free: 27.32 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003066/0.2427, allocations: 335.4 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2428, allocations: 8.031 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.2428, allocations: 0 / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.243, allocations: 167 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.243, allocations: 4 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.243, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.2431, allocations: 41.58 kB / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2432, allocations: 0 / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2432, allocations: 0 / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2432, allocations: 0 / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.853e-05/0.2433, allocations: 0 / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.2434, allocations: 149.6 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.2435, allocations: 22.56 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.2436, allocations: 8.953 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007351/0.2443, allocations: 421.5 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.2444, allocations: 42.5 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.846e-06/0.2444, allocations: 0 / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001922/0.2446, allocations: 29.7 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.2446, allocations: 55.53 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.235e-05/0.2447, allocations: 89.86 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2447, allocations: 25.7 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.963e-05/0.2448, allocations: 80.14 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.2448, allocations: 7.906 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.2448, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.2449, allocations: 318.8 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.245, allocations: 0 / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.434e-05/0.245, allocations: 0 / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.899e-05/0.245, allocations: 12 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2451, allocations: 3.953 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001177/0.2452, allocations: 29.7 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2452, allocations: 4 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2453, allocations: 4 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2453, allocations: 0 / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.2454, allocations: 3.938 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2454, allocations: 3.984 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.2454, allocations: 3.984 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2455, allocations: 8.031 kB / 0.9812 GB, free: 25.18 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 (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.942e-05/0.2456, allocations: 105.8 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.2456, allocations: 3.953 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.2458, allocations: 44.75 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2458, allocations: 0 / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2458, allocations: 4 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2458, allocations: 3.984 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.265e-05/0.2459, allocations: 141.7 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.246, allocations: 4.031 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.246, allocations: 3.953 kB / 0.9815 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.246, allocations: 4 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.246, allocations: 0 / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.2461, allocations: 7.938 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2461, allocations: 0 / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.2462, allocations: 61.12 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.2463, allocations: 85.36 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2463, allocations: 3.953 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.2463, allocations: 0 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.2464, allocations: 0 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.2464, allocations: 0 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.798e-05/0.2464, allocations: 75.28 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.91e-07/0.2464, allocations: 0 / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004194/0.2469, allocations: 15.98 kB / 0.9817 GB, free: 24.52 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 (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.0002246/0.2471, allocations: 103.2 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.236e-05/0.2472, allocations: 12 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2473, allocations: 0 / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.2473, allocations: 4 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2476, allocations: 3.938 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.2478, allocations: 82.62 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.2479, allocations: 0.6692 MB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.248, allocations: 8.125 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.248, allocations: 7.438 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.248, allocations: 0 / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.003917/0.2519, allocations: 440.5 kB / 0.983 GB, free: 23.15 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)