Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2558/0.2578, allocations: 80.84 MB / 0.6707 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001975/0.2599, allocations: 0.586 MB / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008125/0.2607, allocations: 343 kB / 0.6716 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.2608, allocations: 0 / 0.6716 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.2608, allocations: 0 / 0.6716 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.2608, allocations: 3.938 kB / 0.6716 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.2614, allocations: 119.6 kB / 0.6717 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.2615, allocations: 23.98 kB / 0.6717 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.2615, allocations: 7.938 kB / 0.6717 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.2616, allocations: 11.92 kB / 0.6717 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.2617, allocations: 15.92 kB / 0.6717 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2617, allocations: 0 / 0.6717 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.2621, allocations: 275.7 kB / 0.672 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.2621, allocations: 7.984 kB / 0.672 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.2622, allocations: 15.92 kB / 0.672 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.2624, allocations: 95.7 kB / 0.6721 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2624, allocations: 0 / 0.6721 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2624, allocations: 4 kB / 0.6721 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2624, allocations: 4 kB / 0.6721 GB, free: 0.4922 MB / 0.4981 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.0006386/0.263, allocations: 363.1 kB / 0.6725 GB, free: 92 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2631, allocations: 12.03 kB / 0.6725 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.2632, allocations: 4.891 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2633, allocations: 164.4 kB / 0.6726 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2633, allocations: 4.375 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.2634, allocations: 4.375 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2635, allocations: 49.61 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2635, allocations: 15.88 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2636, allocations: 4 kB / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2636, allocations: 0 / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.243e-05/0.2636, allocations: 19.98 kB / 0.6727 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.264, allocations: 157.7 kB / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2641, allocations: 54.56 kB / 0.6729 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.2642, allocations: 28.84 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/0.2649, allocations: 465.6 kB / 0.6734 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2649, allocations: 38.48 kB / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2649, allocations: 0 / 0.6734 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001469/0.2664, allocations: 0.5916 MB / 0.674 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.2665, allocations: 59.39 kB / 0.6741 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.2668, allocations: 97.86 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2669, allocations: 25.7 kB / 0.6742 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.2669, allocations: 88.14 kB / 0.6743 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.267, allocations: 43.62 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.2671, allocations: 29.7 kB / 0.6743 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0004372/0.2675, allocations: 314.8 kB / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.655e-05/0.2676, allocations: 23.98 kB / 0.6747 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.2676, allocations: 16 kB / 0.6747 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.2677, allocations: 60.78 kB / 0.6747 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.2677, allocations: 96 / 0.6747 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002009/0.268, allocations: 108.9 kB / 0.6748 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.268, allocations: 8.781 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.268, allocations: 0 / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.268, allocations: 0 / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.2681, allocations: 27.98 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2682, allocations: 3.984 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.2682, allocations: 0 / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2682, allocations: 4 kB / 0.6749 GB, free: 13.25 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2683, allocations: 117.7 kB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.2684, allocations: 19.94 kB / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.2687, allocations: 109.6 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2687, allocations: 0 / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2687, allocations: 0 / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2687, allocations: 0 / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.2695, allocations: 358.4 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2695, allocations: 0 / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.2696, allocations: 19.98 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2696, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2696, allocations: 4 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2696, allocations: 4 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2697, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.27, allocations: 223.3 kB / 0.6757 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.2701, allocations: 93.08 kB / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2701, allocations: 0 / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.2702, allocations: 0 / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.2702, allocations: 7.984 kB / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2702, allocations: 12 kB / 0.6758 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.2703, allocations: 83.28 kB / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2703, allocations: 3.938 kB / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003732/0.2707, allocations: 39.94 kB / 0.6759 GB, free: 12.06 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004192/0.2711, allocations: 143.1 kB / 0.6761 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.2713, allocations: 59.92 kB / 0.6761 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2713, allocations: 3.938 kB / 0.6761 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.2714, allocations: 39.92 kB / 0.6762 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2717, allocations: 4 kB / 0.6762 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.2722, allocations: 182.1 kB / 0.6764 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.2727, allocations: 0.6855 MB / 0.677 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.79e-05/0.2728, allocations: 11.97 kB / 0.677 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.2728, allocations: 19.44 kB / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2728, allocations: 0 / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.005466/0.2783, allocations: 1.397 MB / 0.6784 GB, free: 9.477 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)