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.2254/0.2274, allocations: 80.83 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002447/0.2299, allocations: 0.6579 MB / 0.5903 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.2308, allocations: 366.8 kB / 0.5907 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.2308, allocations: 0 / 0.5907 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.2309, allocations: 0 / 0.5907 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.121e-05/0.2309, allocations: 3.938 kB / 0.5907 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2314, allocations: 79.84 kB / 0.5908 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.2315, allocations: 23.97 kB / 0.5908 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.2316, allocations: 4 kB / 0.5908 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.2317, allocations: 11.92 kB / 0.5908 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.2318, allocations: 11.94 kB / 0.5908 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2318, allocations: 4 kB / 0.5908 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.2322, allocations: 271.6 kB / 0.5911 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.2322, allocations: 7.984 kB / 0.5911 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.2323, allocations: 11.94 kB / 0.5911 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2325, allocations: 103.8 kB / 0.5912 GB, free: 5.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2325, allocations: 4 kB / 0.5912 GB, free: 5.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2325, allocations: 0 / 0.5912 GB, free: 5.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2325, allocations: 3.938 kB / 0.5912 GB, free: 5.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006215/0.2332, allocations: 363.7 kB / 0.5915 GB, free: 5.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.2332, allocations: 16.02 kB / 0.5916 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.2333, allocations: 4.875 kB / 0.5916 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2335, allocations: 168.3 kB / 0.5917 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.2335, allocations: 384 / 0.5917 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.2335, allocations: 8.375 kB / 0.5917 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2337, allocations: 49.81 kB / 0.5918 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2337, allocations: 0 / 0.5918 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2337, allocations: 4 kB / 0.5918 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2337, allocations: 0 / 0.5918 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.809e-05/0.2338, allocations: 23.92 kB / 0.5918 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.234, allocations: 165.7 kB / 0.592 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.2341, allocations: 54.56 kB / 0.592 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.2342, allocations: 28.84 kB / 0.592 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.2349, allocations: 457.5 kB / 0.5925 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.235, allocations: 38.5 kB / 0.5925 GB, free: 3.934 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.235, allocations: 0 / 0.5925 GB, free: 3.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001394/0.2364, allocations: 0.6028 MB / 0.5931 GB, free: 3.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2364, allocations: 59.34 kB / 0.5932 GB, free: 3.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2365, allocations: 101.8 kB / 0.5933 GB, free: 3.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2366, allocations: 25.7 kB / 0.5933 GB, free: 3.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.2366, allocations: 80.14 kB / 0.5934 GB, free: 2.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.2367, allocations: 47.44 kB / 0.5934 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.2368, allocations: 25.72 kB / 0.5934 GB, free: 2.871 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2369, allocations: 318.8 kB / 0.5937 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.237, allocations: 20 kB / 0.5938 GB, free: 2.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.237, allocations: 19.98 kB / 0.5938 GB, free: 2.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.2371, allocations: 64.34 kB / 0.5938 GB, free: 2.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2371, allocations: 3.938 kB / 0.5938 GB, free: 2.445 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001653/0.2373, allocations: 85.69 kB / 0.5939 GB, free: 2.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2373, allocations: 12 kB / 0.5939 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2374, allocations: 3.938 kB / 0.5939 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2374, allocations: 0 / 0.5939 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.2375, allocations: 27.98 kB / 0.594 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2375, allocations: 0 / 0.594 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.2375, allocations: 0 / 0.594 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.2376, allocations: 4 kB / 0.594 GB, free: 2.309 MB / 446.1 MB 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.0001089/0.2377, allocations: 114.7 kB / 0.5941 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.2377, allocations: 7.906 kB / 0.5941 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.2379, allocations: 117.5 kB / 0.5942 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2379, allocations: 0 / 0.5942 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.238, allocations: 0 / 0.5942 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.238, allocations: 96 / 0.5942 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.2385, allocations: 358.3 kB / 0.5945 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2385, allocations: 0 / 0.5945 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.2386, allocations: 23.98 kB / 0.5946 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2386, allocations: 0 / 0.5946 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2386, allocations: 4 kB / 0.5946 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2386, allocations: 4 kB / 0.5946 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2386, allocations: 0 / 0.5946 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.2389, allocations: 219.3 kB / 0.5948 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.239, allocations: 85.12 kB / 0.5949 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2391, allocations: 7.984 kB / 0.5949 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.2391, allocations: 3.938 kB / 0.5949 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.2392, allocations: 4 kB / 0.5949 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2392, allocations: 8 kB / 0.5949 GB, free: 1.262 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.2392, allocations: 91.27 kB / 0.595 GB, free: 1.172 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2393, allocations: 0 / 0.595 GB, free: 1.172 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.2395, allocations: 40 kB / 0.595 GB, free: 1.133 MB / 446.1 MB 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.000299/0.2398, allocations: 143.2 kB / 0.5951 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.24, allocations: 67.91 kB / 0.5952 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.24, allocations: 0 / 0.5952 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.2401, allocations: 34.28 kB / 0.5952 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.2404, allocations: 8.328 kB / 0.5953 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.2409, allocations: 188.7 kB / 0.5954 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.2413, allocations: 0.6926 MB / 0.5961 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.87e-05/0.2413, allocations: 15.92 kB / 0.5961 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2414, allocations: 15.44 kB / 0.5961 GB, free: 15.92 MB / 462.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2414, allocations: 0 / 0.5961 GB, free: 15.92 MB / 462.1 MB Notification: Performance of Templates: time 0.00428/0.2457, allocations: 1.373 MB / 0.5975 GB, free: 14.58 MB / 462.1 MB 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)