Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [/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.2159/0.2178, allocations: 80.84 MB / 0.5897 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002342/0.2202, allocations: 0.621 MB / 0.5903 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.2212, allocations: 362.8 kB / 0.5906 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.2213, allocations: 3.938 kB / 0.5906 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.2213, allocations: 0 / 0.5906 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.2213, allocations: 0 / 0.5906 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005373/0.2219, allocations: 87.77 kB / 0.5907 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.222, allocations: 11.92 kB / 0.5907 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.294e-05/0.222, allocations: 3.984 kB / 0.5907 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.063e-05/0.2221, allocations: 8 kB / 0.5908 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.2221, allocations: 0 / 0.5908 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2222, allocations: 0 / 0.5908 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.2227, allocations: 275.6 kB / 0.591 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.2227, allocations: 3.938 kB / 0.591 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.2228, allocations: 8 kB / 0.591 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.223, allocations: 91.84 kB / 0.5911 GB, free: 5.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.223, allocations: 0 / 0.5911 GB, free: 5.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.871e-06/0.2231, allocations: 0 / 0.5911 GB, free: 5.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2231, allocations: 3.938 kB / 0.5911 GB, free: 5.629 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006686/0.2237, allocations: 347.7 kB / 0.5915 GB, free: 5.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.2238, allocations: 8.031 kB / 0.5915 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.2239, allocations: 0.9375 kB / 0.5915 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2242, allocations: 164.4 kB / 0.5916 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2242, allocations: 4.375 kB / 0.5916 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.2242, allocations: 384 / 0.5916 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2244, allocations: 41.81 kB / 0.5917 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2244, allocations: 3.938 kB / 0.5917 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.2244, allocations: 4 kB / 0.5917 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2244, allocations: 0 / 0.5917 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.2245, allocations: 4 kB / 0.5917 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.2247, allocations: 153.7 kB / 0.5918 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.059e-05/0.2248, allocations: 22.61 kB / 0.5918 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.2248, allocations: 8.922 kB / 0.5918 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009583/0.2258, allocations: 461.5 kB / 0.5923 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.2258, allocations: 38.5 kB / 0.5923 GB, free: 4.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2258, allocations: 0 / 0.5923 GB, free: 4.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008009/0.2266, allocations: 254.2 kB / 0.5926 GB, free: 3.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.2267, allocations: 51.41 kB / 0.5926 GB, free: 3.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2268, allocations: 98.08 kB / 0.5927 GB, free: 3.672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2268, allocations: 25.7 kB / 0.5927 GB, free: 3.641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.2269, allocations: 80.14 kB / 0.5928 GB, free: 3.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.2269, allocations: 11.89 kB / 0.5928 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.227, allocations: 13.72 kB / 0.5928 GB, free: 3.527 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2272, allocations: 318.8 kB / 0.5931 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.2272, allocations: 0 / 0.5931 GB, free: 3.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.2272, allocations: 29.64 kB / 0.5932 GB, free: 3.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.2273, allocations: 25.84 kB / 0.5932 GB, free: 3.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.2273, allocations: 0 / 0.5932 GB, free: 3.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.2275, allocations: 57.56 kB / 0.5932 GB, free: 3.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.2275, allocations: 10.12 kB / 0.5933 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2275, allocations: 4 kB / 0.5933 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2275, allocations: 0 / 0.5933 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.2276, allocations: 4 kB / 0.5933 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.2276, allocations: 8.062 kB / 0.5933 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.2277, allocations: 3.938 kB / 0.5933 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2277, allocations: 0 / 0.5933 GB, free: 3.051 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001549/0.2278, allocations: 114.7 kB / 0.5934 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.2279, allocations: 7.844 kB / 0.5934 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.2281, allocations: 53.17 kB / 0.5934 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.2281, allocations: 0 / 0.5934 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.2281, allocations: 4 kB / 0.5934 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2281, allocations: 0 / 0.5934 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.2283, allocations: 153.7 kB / 0.5936 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.2284, allocations: 7.938 kB / 0.5936 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.012e-05/0.2284, allocations: 4.188 kB / 0.5936 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2284, allocations: 0 / 0.5936 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2285, allocations: 0 / 0.5936 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2285, allocations: 3.938 kB / 0.5936 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.2285, allocations: 7.969 kB / 0.5936 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.2287, allocations: 81.12 kB / 0.5937 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.2289, allocations: 81.05 kB / 0.5938 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.229, allocations: 0 / 0.5938 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.229, allocations: 0 / 0.5938 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.229, allocations: 8.016 kB / 0.5938 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2291, allocations: 4 kB / 0.5938 GB, free: 2.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.2291, allocations: 75.28 kB / 0.5939 GB, free: 2.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2291, allocations: 4 kB / 0.5939 GB, free: 2.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.2294, allocations: 24.16 kB / 0.5939 GB, free: 2.324 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002814/0.2297, allocations: 131.2 kB / 0.594 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.421e-05/0.2298, allocations: 19.92 kB / 0.594 GB, free: 2.168 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2298, allocations: 4 kB / 0.594 GB, free: 2.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.2298, allocations: 4 kB / 0.594 GB, free: 2.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.23, allocations: 7.875 kB / 0.594 GB, free: 2.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.2303, allocations: 119.5 kB / 0.5942 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.2307, allocations: 0.6809 MB / 0.5948 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.2307, allocations: 0 / 0.5948 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.2307, allocations: 11.44 kB / 0.5948 GB, free: 1.289 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2308, allocations: 3.938 kB / 0.5948 GB, free: 1.285 MB / 446.1 MB Notification: Performance of Templates: time 0.003622/0.2344, allocations: 0.8567 MB / 0.5957 GB, free: 472 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)