Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001421/0.001422, allocations: 172.7 kB / 15.95 MB, free: 208 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.833/1.833, allocations: 205.4 MB / 222.1 MB, free: 5.719 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.729/1.729, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005239/0.0005239, allocations: 21.28 kB / 0.6737 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2597, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008164/0.2605, allocations: 359.4 kB / 0.7876 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000663/0.2612, allocations: 323.2 kB / 0.7879 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.2613, allocations: 4 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.2613, allocations: 3.938 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.51e-05/0.2614, allocations: 0 / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.2618, allocations: 75.83 kB / 0.788 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.2619, allocations: 23.92 kB / 0.788 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.262, allocations: 0 / 0.788 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.262, allocations: 11.98 kB / 0.7881 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.2621, allocations: 15.94 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2621, allocations: 4 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.2625, allocations: 263.6 kB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.2626, allocations: 7.984 kB / 0.7883 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.2626, allocations: 29.64 kB / 0.7884 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.2628, allocations: 67.89 kB / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2628, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2628, allocations: 0 / 0.7884 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2628, allocations: 0 / 0.7884 GB, free: 10.74 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004193/0.2632, allocations: 359.5 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2633, allocations: 8.031 kB / 0.7888 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.2633, allocations: 4 kB / 0.7888 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2635, allocations: 163 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2635, allocations: 4 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2635, allocations: 4 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2636, allocations: 57.59 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.2636, allocations: 3.906 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2637, allocations: 0 / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2637, allocations: 4 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.2637, allocations: 23.98 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.2639, allocations: 169.6 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.264, allocations: 54.56 kB / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.2641, allocations: 32.84 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.2648, allocations: 465.4 kB / 0.7897 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.2648, allocations: 42.5 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2648, allocations: 0 / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00132/0.2662, allocations: 0.585 MB / 0.7903 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2662, allocations: 51.41 kB / 0.7904 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.2663, allocations: 101.8 kB / 0.7905 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2663, allocations: 25.7 kB / 0.7905 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.2663, allocations: 84.12 kB / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.2664, allocations: 39.47 kB / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.2664, allocations: 4 kB / 0.7906 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2665, allocations: 322.8 kB / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.2666, allocations: 19.98 kB / 0.7909 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.485e-05/0.2666, allocations: 20 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.2667, allocations: 24 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2667, allocations: 96 / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001637/0.2668, allocations: 112.7 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2669, allocations: 4 kB / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2669, allocations: 0 / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2669, allocations: 4 kB / 0.7911 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.267, allocations: 23.98 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.267, allocations: 0 / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.267, allocations: 0 / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2671, allocations: 4 kB / 0.7911 GB, free: 7.578 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 (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 8.847e-05/0.2672, allocations: 126.4 kB / 0.7913 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2672, allocations: 3.906 kB / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.2674, allocations: 105.6 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2674, allocations: 4 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2674, allocations: 0 / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2674, allocations: 0 / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.2678, allocations: 358.5 kB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2678, allocations: 192 / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2679, allocations: 16 kB / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.268, allocations: 3.984 kB / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.268, allocations: 7.984 kB / 0.7917 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.268, allocations: 4 kB / 0.7917 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.268, allocations: 4 kB / 0.7917 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.2682, allocations: 219.6 kB / 0.7919 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.2683, allocations: 89.09 kB / 0.792 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2683, allocations: 4 kB / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.2684, allocations: 0 / 0.792 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.2684, allocations: 11.98 kB / 0.792 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2685, allocations: 4 kB / 0.7921 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.2685, allocations: 79.34 kB / 0.7921 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2685, allocations: 0 / 0.7921 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002735/0.2688, allocations: 51.98 kB / 0.7922 GB, free: 6.398 MB / 0.6075 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.0002492/0.269, allocations: 141.9 kB / 0.7923 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.2692, allocations: 67.89 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2692, allocations: 3.938 kB / 0.7924 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.2693, allocations: 32 kB / 0.7924 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2695, allocations: 10.38 kB / 0.7924 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.2698, allocations: 202.9 kB / 0.7926 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2701, allocations: 0.6848 MB / 0.7933 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.2702, allocations: 4 kB / 0.7933 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.2702, allocations: 23.36 kB / 0.7933 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2702, allocations: 0 / 0.7933 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of Templates: time 0.003591/0.2738, allocations: 1.34 MB / 0.7946 GB, free: 3.84 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: