Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 174.9 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 0.5783 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007483/0.0007483, allocations: 85.94 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 11.84 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2368, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007766/0.2376, allocations: 362.2 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005689/0.2382, allocations: 320.5 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.2382, allocations: 0 / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.2383, allocations: 0 / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.2383, allocations: 0 / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.2387, allocations: 75.84 kB / 0.9016 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.2387, allocations: 31.91 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.2388, allocations: 4 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.2388, allocations: 7.938 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.2389, allocations: 11.98 kB / 0.9016 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2389, allocations: 3.938 kB / 0.9016 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.2392, allocations: 267.7 kB / 0.9019 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.2393, allocations: 15.91 kB / 0.9019 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.2393, allocations: 29.7 kB / 0.9019 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2394, allocations: 55.89 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2394, allocations: 0 / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2394, allocations: 0 / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2394, allocations: 4 kB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000379/0.2398, allocations: 356 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2399, allocations: 12.02 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.2399, allocations: 4 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2401, allocations: 171.2 kB / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2401, allocations: 8 kB / 0.9025 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.2401, allocations: 4 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2402, allocations: 45.62 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2403, allocations: 4 kB / 0.9026 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2403, allocations: 8 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2403, allocations: 0 / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/0.2404, allocations: 19.98 kB / 0.9026 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.2405, allocations: 173.6 kB / 0.9027 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.867e-05/0.2406, allocations: 50.56 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.2407, allocations: 32.78 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/0.2413, allocations: 461.5 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2413, allocations: 42.55 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2413, allocations: 4 kB / 0.9033 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001069/0.2424, allocations: 0.5839 MB / 0.9039 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.2425, allocations: 51.41 kB / 0.9039 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.114e-05/0.2425, allocations: 101.8 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.2425, allocations: 29.7 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.2425, allocations: 84.14 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.2426, allocations: 43.39 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.2426, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.2426, allocations: 318.8 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.2427, allocations: 19.98 kB / 0.9045 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.161e-05/0.2427, allocations: 25.98 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.2428, allocations: 24 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2428, allocations: 0 / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001252/0.2429, allocations: 101.6 kB / 0.9046 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2429, allocations: 4 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2429, allocations: 0 / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.243, allocations: 0 / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2431, allocations: 23.98 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2431, allocations: 0 / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.2431, allocations: 4 kB / 0.9047 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2431, allocations: 4 kB / 0.9047 GB, free: 59.56 MB / 0.6042 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 (13): * Single equations (assignments): 13 * 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.201e-05/0.2432, allocations: 121.7 kB / 0.9048 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2432, allocations: 11.91 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2434, allocations: 105.6 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2434, allocations: 0 / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2434, allocations: 0 / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2434, allocations: 0 / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.2437, allocations: 362.4 kB / 0.9053 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2437, allocations: 0 / 0.9053 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2438, allocations: 19.98 kB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2439, allocations: 4 kB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.2439, allocations: 4 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2439, allocations: 0 / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2439, allocations: 0 / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.2441, allocations: 227.6 kB / 0.9055 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.2442, allocations: 89 kB / 0.9056 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2442, allocations: 4.031 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.2443, allocations: 4 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.2443, allocations: 8.062 kB / 0.9056 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2443, allocations: 11.98 kB / 0.9056 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.226e-05/0.2444, allocations: 75.28 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2444, allocations: 4 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002452/0.2446, allocations: 40 kB / 0.9057 GB, free: 58.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002169/0.2449, allocations: 139.5 kB / 0.9059 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.245, allocations: 62.72 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.245, allocations: 0 / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.245, allocations: 43.92 kB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.2453, allocations: 7.953 kB / 0.906 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.2456, allocations: 216.5 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2457, allocations: 0.6848 MB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.2457, allocations: 15.42 kB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2457, allocations: 0 / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.002391/0.2481, allocations: 1.195 MB / 0.908 GB, free: 55.96 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)