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.2099/0.2106, allocations: 82.21 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000854/0.2115, allocations: 316.8 kB / 0.5938 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007003/0.2123, allocations: 319.3 kB / 0.5941 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.2123, allocations: 0 / 0.5941 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.2123, allocations: 0 / 0.5941 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.821e-05/0.2124, allocations: 0 / 0.5941 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.2128, allocations: 79.78 kB / 0.5942 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.2128, allocations: 15.98 kB / 0.5942 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.2129, allocations: 0 / 0.5942 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.2129, allocations: 19.94 kB / 0.5942 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.213, allocations: 15.97 kB / 0.5942 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.213, allocations: 0 / 0.5942 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.2134, allocations: 271.6 kB / 0.5945 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.2134, allocations: 11.92 kB / 0.5945 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.2135, allocations: 29.7 kB / 0.5945 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.2136, allocations: 55.89 kB / 0.5946 GB, free: 4.848 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.2136, allocations: 0 / 0.5946 GB, free: 4.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2136, allocations: 0 / 0.5946 GB, free: 4.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2136, allocations: 0 / 0.5946 GB, free: 4.848 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.0005181/0.2142, allocations: 363.5 kB / 0.5949 GB, free: 4.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.2142, allocations: 8.031 kB / 0.5949 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.584e-05/0.2143, allocations: 7.984 kB / 0.5949 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2145, allocations: 163.1 kB / 0.5951 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2145, allocations: 7.938 kB / 0.5951 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.2145, allocations: 11.91 kB / 0.5951 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.2147, allocations: 45.64 kB / 0.5951 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2147, allocations: 0 / 0.5951 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2147, allocations: 11.98 kB / 0.5952 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2147, allocations: 4 kB / 0.5952 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.2148, allocations: 15.98 kB / 0.5952 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.215, allocations: 165.7 kB / 0.5953 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2151, allocations: 58.5 kB / 0.5954 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.2152, allocations: 28.84 kB / 0.5954 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/0.2159, allocations: 461.5 kB / 0.5959 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.2159, allocations: 34.56 kB / 0.5959 GB, free: 3.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2159, allocations: 0 / 0.5959 GB, free: 3.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001314/0.2173, allocations: 0.5917 MB / 0.5965 GB, free: 2.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2173, allocations: 51.41 kB / 0.5965 GB, free: 2.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.2174, allocations: 101.8 kB / 0.5966 GB, free: 2.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.2175, allocations: 25.7 kB / 0.5966 GB, free: 2.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.2175, allocations: 88.14 kB / 0.5967 GB, free: 2.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.2176, allocations: 35.45 kB / 0.5968 GB, free: 2.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.2176, allocations: 4 kB / 0.5968 GB, free: 2.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2177, allocations: 314.8 kB / 0.5971 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.2178, allocations: 19.98 kB / 0.5971 GB, free: 1.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.2179, allocations: 23.98 kB / 0.5971 GB, free: 1.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.2179, allocations: 23.94 kB / 0.5971 GB, free: 1.836 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2179, allocations: 0 / 0.5971 GB, free: 1.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001486/0.2181, allocations: 109.2 kB / 0.5972 GB, free: 1.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2181, allocations: 4 kB / 0.5972 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2181, allocations: 8 kB / 0.5972 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2181, allocations: 0 / 0.5972 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2182, allocations: 23.98 kB / 0.5973 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2183, allocations: 0 / 0.5973 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.2183, allocations: 0 / 0.5973 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2183, allocations: 8 kB / 0.5973 GB, free: 1.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/0.2184, allocations: 118.7 kB / 0.5974 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.2184, allocations: 7.859 kB / 0.5974 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.2186, allocations: 113.6 kB / 0.5975 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2186, allocations: 0 / 0.5975 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2186, allocations: 0 / 0.5975 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2186, allocations: 0 / 0.5975 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.2191, allocations: 365.1 kB / 0.5978 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2191, allocations: 0 / 0.5978 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2192, allocations: 19.98 kB / 0.5979 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2192, allocations: 0 / 0.5979 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2192, allocations: 4 kB / 0.5979 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2192, allocations: 0 / 0.5979 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2192, allocations: 4 kB / 0.5979 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.2195, allocations: 215.5 kB / 0.5981 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.2196, allocations: 101 kB / 0.5982 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.2196, allocations: 4 kB / 0.5982 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.2197, allocations: 4 kB / 0.5982 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.2197, allocations: 4 kB / 0.5982 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2197, allocations: 7.984 kB / 0.5982 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.2198, allocations: 79.34 kB / 0.5983 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2198, allocations: 0 / 0.5983 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.22, allocations: 44 kB / 0.5983 GB, free: 0.5078 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 (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.000266/0.2203, allocations: 147.1 kB / 0.5984 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.2205, allocations: 59.92 kB / 0.5985 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2205, allocations: 0 / 0.5985 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.2205, allocations: 35.92 kB / 0.5985 GB, free: 268 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.2208, allocations: 8 kB / 0.5985 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.2212, allocations: 190.9 kB / 0.5987 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2215, allocations: 0.6848 MB / 0.5994 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.555e-05/0.2216, allocations: 23.86 kB / 0.5994 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2216, allocations: 11.44 kB / 0.5994 GB, free: 15.29 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2216, allocations: 0 / 0.5994 GB, free: 15.29 MB / 462.1 MB Notification: Performance of Templates: time 0.004057/0.2257, allocations: 1.346 MB / 0.6007 GB, free: 13.98 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: