Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [/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.4763/0.4771, allocations: 82.22 MB / 0.5935 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008086/0.478, allocations: 272.9 kB / 0.5937 GB, free: 21.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000651/0.4786, allocations: 293.4 kB / 0.594 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.4787, allocations: 6.375 kB / 0.594 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.4787, allocations: 0 / 0.594 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.117e-06/0.4787, allocations: 0 / 0.594 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.4793, allocations: 71.84 kB / 0.5941 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.4794, allocations: 0.8125 kB / 0.5941 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.756e-05/0.4794, allocations: 0 / 0.5941 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.4795, allocations: 0.5 kB / 0.5941 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.015e-05/0.4795, allocations: 0 / 0.5941 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.4795, allocations: 0.625 kB / 0.5941 GB, free: 20.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.4799, allocations: 268.6 kB / 0.5944 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.4799, allocations: 0 / 0.5944 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.48, allocations: 29.69 kB / 0.5944 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.4801, allocations: 60.62 kB / 0.5944 GB, free: 20.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4801, allocations: 0 / 0.5944 GB, free: 20.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4801, allocations: 2.688 kB / 0.5944 GB, free: 20.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4801, allocations: 0 / 0.5944 GB, free: 20.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002773/0.4804, allocations: 327.4 kB / 0.5948 GB, free: 20.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4804, allocations: 8.031 kB / 0.5948 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.4805, allocations: 0 / 0.5948 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.4806, allocations: 163 kB / 0.5949 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.4806, allocations: 1.281 kB / 0.5949 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.4807, allocations: 4 kB / 0.5949 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.4808, allocations: 34.25 kB / 0.595 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4808, allocations: 3.938 kB / 0.595 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4808, allocations: 1.906 kB / 0.595 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4808, allocations: 0 / 0.595 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.4808, allocations: 7.984 kB / 0.595 GB, free: 19.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.4809, allocations: 145.7 kB / 0.5951 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.481, allocations: 21.05 kB / 0.5951 GB, free: 19.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.481, allocations: 12.95 kB / 0.5951 GB, free: 19.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/0.4814, allocations: 426.2 kB / 0.5955 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.4814, allocations: 35.59 kB / 0.5956 GB, free: 19.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.4814, allocations: 1.562 kB / 0.5956 GB, free: 19.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.4816, allocations: 37.64 kB / 0.5956 GB, free: 18.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.4816, allocations: 51.41 kB / 0.5957 GB, free: 18.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.145e-05/0.4817, allocations: 90.77 kB / 0.5958 GB, free: 18.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.4817, allocations: 25.7 kB / 0.5958 GB, free: 18.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.181e-05/0.4817, allocations: 84.92 kB / 0.5959 GB, free: 18.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.4817, allocations: 6.438 kB / 0.5959 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.4817, allocations: 5.5 kB / 0.5959 GB, free: 18.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.4818, allocations: 310.8 kB / 0.5962 GB, free: 18.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.4818, allocations: 0 / 0.5962 GB, free: 18.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.4818, allocations: 8.75 kB / 0.5962 GB, free: 18.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.4818, allocations: 1.25 kB / 0.5962 GB, free: 18.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4818, allocations: 0 / 0.5962 GB, free: 18.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.351e-05/0.4819, allocations: 33.69 kB / 0.5962 GB, free: 18.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4819, allocations: 8.688 kB / 0.5962 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4819, allocations: 0 / 0.5962 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4819, allocations: 4.984 kB / 0.5962 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.902e-05/0.482, allocations: 0 / 0.5962 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.482, allocations: 5.016 kB / 0.5962 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.482, allocations: 4 kB / 0.5962 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.482, allocations: 0 / 0.5962 GB, free: 18.3 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 (1): * Single equations (assignments): 1 * 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 4.618e-05/0.4821, allocations: 106.6 kB / 0.5963 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.4821, allocations: 1.094 kB / 0.5963 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.4822, allocations: 50.84 kB / 0.5964 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4822, allocations: 0 / 0.5964 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4822, allocations: 7.891 kB / 0.5964 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4822, allocations: 0 / 0.5964 GB, free: 18.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.191e-05/0.4823, allocations: 141.7 kB / 0.5965 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4823, allocations: 4.672 kB / 0.5965 GB, free: 17.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.4823, allocations: 4 kB / 0.5965 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4823, allocations: 1.094 kB / 0.5965 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.4823, allocations: 0 / 0.5965 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4823, allocations: 0 / 0.5965 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4823, allocations: 0.6875 kB / 0.5965 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.156e-05/0.4824, allocations: 66.97 kB / 0.5966 GB, free: 17.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.4824, allocations: 81.09 kB / 0.5967 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.4824, allocations: 0 / 0.5967 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.4824, allocations: 0.5312 kB / 0.5967 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.4825, allocations: 4.859 kB / 0.5967 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.4825, allocations: 4 kB / 0.5967 GB, free: 17.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.529e-05/0.4825, allocations: 85.08 kB / 0.5968 GB, free: 17.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4825, allocations: 0 / 0.5968 GB, free: 17.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.4827, allocations: 8 kB / 0.5968 GB, free: 17.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001469/0.4829, allocations: 115.8 kB / 0.5969 GB, free: 17.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.118e-05/0.4829, allocations: 9.875 kB / 0.5969 GB, free: 17.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4829, allocations: 0 / 0.5969 GB, free: 17.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.241e-06/0.483, allocations: 3.938 kB / 0.5969 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.4831, allocations: 6.344 kB / 0.5969 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.4833, allocations: 68.14 kB / 0.597 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.4834, allocations: 0.6731 MB / 0.5976 GB, free: 16.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.4834, allocations: 8.844 kB / 0.5976 GB, free: 16.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-06/0.4834, allocations: 7.438 kB / 0.5976 GB, free: 16.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4834, allocations: 1.469 kB / 0.5976 GB, free: 16.71 MB / 446.1 MB Notification: Performance of Templates: time 0.00267/0.4861, allocations: 439.6 kB / 0.5981 GB, free: 16.29 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: