Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.745/2.745, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001552/0.001552, allocations: 190.7 kB / 370.8 MB, free: 10.85 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.194/2.194, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001179/0.001179, allocations: 93.89 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 13.34 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001694/0.2333, allocations: 1.152 MB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.2342, allocations: 365 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.2342, allocations: 0 / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.2343, allocations: 3.938 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.2344, allocations: 0 / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.2348, allocations: 65.97 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.2349, allocations: 15.98 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.235, allocations: 7.984 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.2351, allocations: 15.88 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.2351, allocations: 7.984 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2352, allocations: 3.984 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.2356, allocations: 255.7 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.2357, allocations: 8 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.2357, allocations: 29.64 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2359, allocations: 67.88 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2359, allocations: 0 / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2359, allocations: 0 / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.2359, allocations: 4 kB / 0.9801 GB, free: 26.4 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.0004846/0.2364, allocations: 365.6 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2365, allocations: 16.02 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.2365, allocations: 0 / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2366, allocations: 171 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2367, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2367, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2369, allocations: 57.67 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.237, allocations: 0 / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.237, allocations: 3.938 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.237, allocations: 7.938 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.2373, allocations: 47.95 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.2376, allocations: 252.8 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.2378, allocations: 46.55 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008954/0.2388, allocations: 457.5 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2388, allocations: 38.5 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.304e-06/0.2388, allocations: 3.938 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005784/0.2394, allocations: 97.64 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.2394, allocations: 55.53 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.2395, allocations: 105.8 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2396, allocations: 25.7 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.2396, allocations: 84.14 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.2396, allocations: 11.84 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2397, allocations: 0 / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.2397, allocations: 318.8 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.2399, allocations: 27.98 kB / 0.9822 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.24, allocations: 15.98 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2402, allocations: 23.98 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2402, allocations: 4.062 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003406/0.2405, allocations: 77.59 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2406, allocations: 8 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2406, allocations: 0 / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2406, allocations: 0 / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2408, allocations: 16.02 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2408, allocations: 256 / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.2409, allocations: 15.98 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2409, allocations: 7.984 kB / 0.9824 GB, free: 23.78 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 7.3e-05/0.241, allocations: 109.8 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.241, allocations: 7.906 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.2414, allocations: 89.12 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.2414, allocations: 0 / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2414, allocations: 0 / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2414, allocations: 0 / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2416, allocations: 173.5 kB / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2416, allocations: 0 / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.2417, allocations: 16.02 kB / 0.9827 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2418, allocations: 0 / 0.9827 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.2418, allocations: 0 / 0.9827 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2418, allocations: 0 / 0.9827 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2418, allocations: 0 / 0.9827 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.2422, allocations: 179.5 kB / 0.9829 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.2422, allocations: 81.05 kB / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.2422, allocations: 4 kB / 0.983 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2424, allocations: 7.984 kB / 0.983 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.2425, allocations: 0 / 0.983 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2425, allocations: 4 kB / 0.983 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.2425, allocations: 87.31 kB / 0.9831 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2425, allocations: 3.938 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003282/0.2429, allocations: 19.89 kB / 0.9831 GB, free: 22.91 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.0001887/0.2431, allocations: 103.2 kB / 0.9832 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.2434, allocations: 55.95 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2434, allocations: 0 / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2436, allocations: 19.98 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2438, allocations: 3.953 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.2442, allocations: 120.8 kB / 0.9834 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2443, allocations: 0.6809 MB / 0.9841 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.2444, allocations: 3.984 kB / 0.9841 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.2444, allocations: 11.44 kB / 0.9841 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2444, allocations: 3.938 kB / 0.9841 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.003358/0.2478, allocations: 0.6145 MB / 0.9847 GB, free: 21.24 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)