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.2309/0.233, allocations: 80.84 MB / 0.6707 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001828/0.2349, allocations: 0.5821 MB / 0.6712 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.2357, allocations: 343 kB / 0.6716 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.2358, allocations: 0 / 0.6716 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.2358, allocations: 3.938 kB / 0.6716 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.946e-05/0.2359, allocations: 0 / 0.6716 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.2367, allocations: 126 kB / 0.6717 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.2368, allocations: 31.91 kB / 0.6717 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.2369, allocations: 0 / 0.6717 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.237, allocations: 11.92 kB / 0.6717 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.553e-05/0.2371, allocations: 11.94 kB / 0.6717 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.2371, allocations: 4 kB / 0.6717 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.2376, allocations: 275.6 kB / 0.672 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.2377, allocations: 4 kB / 0.672 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.424e-05/0.2378, allocations: 15.91 kB / 0.672 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.238, allocations: 99.78 kB / 0.6721 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.2381, allocations: 0 / 0.6721 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2381, allocations: 0 / 0.6721 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.2381, allocations: 4 kB / 0.6721 GB, free: 500 kB / 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.0008842/0.239, allocations: 363.5 kB / 0.6725 GB, free: 88 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.616e-05/0.2391, allocations: 8.031 kB / 0.6725 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.2392, allocations: 4.938 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2395, allocations: 160.4 kB / 0.6726 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.2395, allocations: 4.375 kB / 0.6726 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.2396, allocations: 8.312 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.2398, allocations: 61.48 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2398, allocations: 4 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.2399, allocations: 4 kB / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2399, allocations: 3.984 kB / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.24, allocations: 16 kB / 0.6727 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.2403, allocations: 173.5 kB / 0.6729 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2405, allocations: 58.5 kB / 0.6729 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/0.2406, allocations: 28.84 kB / 0.673 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.2416, allocations: 461.4 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.895e-05/0.2417, allocations: 34.56 kB / 0.6734 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.2417, allocations: 0 / 0.6734 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.002106/0.2438, allocations: 0.5879 MB / 0.674 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.2439, allocations: 51.41 kB / 0.6741 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.2441, allocations: 101.8 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.2441, allocations: 25.7 kB / 0.6742 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.2443, allocations: 88.14 kB / 0.6743 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.2444, allocations: 35.45 kB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.2444, allocations: 29.72 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000293/0.2447, allocations: 314.8 kB / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.2448, allocations: 23.98 kB / 0.6747 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.2449, allocations: 24 kB / 0.6747 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.245, allocations: 64.72 kB / 0.6747 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.245, allocations: 0 / 0.6747 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001783/0.2452, allocations: 104 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.2452, allocations: 4 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2452, allocations: 0 / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.2453, allocations: 7.984 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.2454, allocations: 19.98 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.2454, allocations: 0 / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.2455, allocations: 3.938 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.2455, 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.000127/0.2456, allocations: 117.8 kB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.2456, allocations: 12 kB / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.2459, allocations: 109.5 kB / 0.6751 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2459, allocations: 0 / 0.6751 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2459, allocations: 0 / 0.6751 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.246, allocations: 4 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.2465, allocations: 358.4 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2466, allocations: 0 / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.2467, allocations: 23.98 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2467, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.2467, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2467, allocations: 4.094 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2467, allocations: 7.875 kB / 0.6755 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.247, allocations: 215.5 kB / 0.6757 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.247, allocations: 89.05 kB / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2471, allocations: 3.984 kB / 0.6758 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.2472, allocations: 4 kB / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.2472, allocations: 8 kB / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2472, allocations: 11.98 kB / 0.6758 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.2473, allocations: 83.22 kB / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2473, allocations: 0 / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003129/0.2476, allocations: 44 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.0003013/0.2479, allocations: 147.1 kB / 0.6761 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2481, allocations: 55.97 kB / 0.6761 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2481, allocations: 4 kB / 0.6761 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.384e-05/0.2481, allocations: 35.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.0002763/0.2484, allocations: 8 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.0004998/0.2489, allocations: 174.2 kB / 0.6763 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.2493, allocations: 0.6894 MB / 0.677 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.828e-05/0.2494, allocations: 8 kB / 0.677 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.2494, allocations: 15.44 kB / 0.677 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/0.2494, allocations: 0 / 0.677 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.005296/0.2547, allocations: 1.421 MB / 0.6784 GB, free: 9.465 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)