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.2118/0.2142, allocations: 80.84 MB / 0.6707 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002317/0.2166, allocations: 0.5665 MB / 0.6712 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.2175, allocations: 331.1 kB / 0.6715 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.2176, allocations: 0 / 0.6715 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.2177, allocations: 0 / 0.6715 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.893e-05/0.2177, allocations: 7.938 kB / 0.6715 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.2185, allocations: 115.1 kB / 0.6716 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.2186, allocations: 11.98 kB / 0.6716 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.347e-05/0.2187, allocations: 4 kB / 0.6717 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.2187, allocations: 4 kB / 0.6717 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.234e-05/0.2188, allocations: 3.984 kB / 0.6717 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2188, allocations: 4 kB / 0.6717 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.2193, allocations: 271.6 kB / 0.6719 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.2194, allocations: 7.938 kB / 0.6719 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.2194, allocations: 4 kB / 0.6719 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.2196, allocations: 91.78 kB / 0.672 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2196, allocations: 4 kB / 0.672 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2196, allocations: 0 / 0.672 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.2196, allocations: 0 / 0.672 GB, free: 0.5742 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00048/0.2201, allocations: 343.6 kB / 0.6724 GB, free: 196 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.2202, allocations: 12.03 kB / 0.6724 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2203, allocations: 0.9375 kB / 0.6724 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2205, allocations: 168.3 kB / 0.6725 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2205, allocations: 4.312 kB / 0.6725 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.2205, allocations: 8.281 kB / 0.6725 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2206, allocations: 37.62 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2207, allocations: 0 / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2207, allocations: 4 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2207, allocations: 0 / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.042e-05/0.2207, allocations: 4 kB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.2209, allocations: 153.7 kB / 0.6727 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.91e-05/0.221, allocations: 26.52 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.221, allocations: 4.859 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/0.2218, allocations: 465.5 kB / 0.6732 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.2218, allocations: 30.56 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.2218, allocations: 0 / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006313/0.2225, allocations: 250.4 kB / 0.6735 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.2225, allocations: 55.41 kB / 0.6735 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.284e-05/0.2226, allocations: 89.86 kB / 0.6736 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2226, allocations: 29.7 kB / 0.6736 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.2227, allocations: 84.14 kB / 0.6737 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.2227, allocations: 15.73 kB / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.2228, allocations: 22.06 kB / 0.6738 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2229, allocations: 310.8 kB / 0.6741 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.2229, allocations: 4 kB / 0.6741 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.223, allocations: 29.58 kB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.223, allocations: 25.72 kB / 0.6741 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.223, allocations: 0 / 0.6741 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/0.2232, allocations: 61.56 kB / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2232, allocations: 4 kB / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2232, allocations: 0 / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2232, allocations: 0 / 0.6742 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.2233, allocations: 8 kB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2233, allocations: 0 / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.2233, allocations: 0 / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2234, allocations: 4 kB / 0.6742 GB, free: 14 MB / 0.5137 GB 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 8.614e-05/0.2235, allocations: 109.8 kB / 0.6743 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.2235, allocations: 12 kB / 0.6743 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.2237, allocations: 61.23 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2237, allocations: 0 / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2237, allocations: 3.938 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2237, allocations: 4 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2239, allocations: 157.6 kB / 0.6745 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2239, allocations: 0 / 0.6745 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.2239, allocations: 4 kB / 0.6745 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2239, allocations: 4 kB / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.2239, allocations: 4 kB / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.224, allocations: 3.984 kB / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.224, allocations: 0 / 0.6745 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.2242, allocations: 84.91 kB / 0.6746 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.2242, allocations: 77.11 kB / 0.6747 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.2242, allocations: 4.031 kB / 0.6747 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.442e-05/0.2243, allocations: 0 / 0.6747 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.2243, allocations: 12.05 kB / 0.6747 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.2243, allocations: 4 kB / 0.6747 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.2244, allocations: 75.28 kB / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2244, allocations: 0 / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002369/0.2246, allocations: 20 kB / 0.6748 GB, free: 13.26 MB / 0.5137 GB 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.000242/0.2249, allocations: 127.2 kB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.225, allocations: 23.92 kB / 0.6749 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.225, allocations: 4.219 kB / 0.6749 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.225, allocations: 11.94 kB / 0.675 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.2252, allocations: 7.938 kB / 0.675 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.2255, allocations: 113.7 kB / 0.6751 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.2258, allocations: 0.6768 MB / 0.6757 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.2259, allocations: 4 kB / 0.6757 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.2259, allocations: 11.44 kB / 0.6757 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.2259, allocations: 0 / 0.6757 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.003613/0.2295, allocations: 0.868 MB / 0.6766 GB, free: 11.36 MB / 0.5137 GB 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)