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.5038/0.5064, allocations: 80.81 MB / 0.5904 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002495/0.5089, allocations: 0.548 MB / 0.591 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007747/0.5097, allocations: 312.4 kB / 0.5912 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.5098, allocations: 1.219 kB / 0.5912 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.5098, allocations: 1.688 kB / 0.5913 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.5098, allocations: 0 / 0.5913 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.5104, allocations: 119.4 kB / 0.5914 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.713e-05/0.5105, allocations: 5.641 kB / 0.5914 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.5105, allocations: 5.422 kB / 0.5914 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.5105, allocations: 1.344 kB / 0.5914 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.591e-05/0.5106, allocations: 0 / 0.5914 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.5106, allocations: 1.188 kB / 0.5914 GB, free: 21.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.511, allocations: 274.2 kB / 0.5916 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.5111, allocations: 0.875 kB / 0.5916 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.5111, allocations: 1.75 kB / 0.5916 GB, free: 21.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.5113, allocations: 84.05 kB / 0.5917 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5113, allocations: 0 / 0.5917 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5113, allocations: 0 / 0.5917 GB, free: 21.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.5113, allocations: 0 / 0.5917 GB, free: 21.34 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.0003431/0.5117, allocations: 335.6 kB / 0.592 GB, free: 20.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5117, allocations: 9.781 kB / 0.5921 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.5118, allocations: 6.031 kB / 0.5921 GB, free: 20.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.5119, allocations: 169.4 kB / 0.5922 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5119, allocations: 1.469 kB / 0.5922 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.5119, allocations: 384 / 0.5922 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5121, allocations: 37.83 kB / 0.5923 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5121, allocations: 0 / 0.5923 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5121, allocations: 1.5 kB / 0.5923 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5121, allocations: 1.031 kB / 0.5923 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.5122, allocations: 4.844 kB / 0.5923 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.5123, allocations: 147.4 kB / 0.5924 GB, free: 20.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.5124, allocations: 27.53 kB / 0.5924 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.5124, allocations: 9.891 kB / 0.5924 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/0.5129, allocations: 428.2 kB / 0.5928 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.513, allocations: 35.44 kB / 0.5929 GB, free: 19.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.513, allocations: 1.156 kB / 0.5929 GB, free: 19.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001603/0.5131, allocations: 34.83 kB / 0.5929 GB, free: 19.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.5132, allocations: 51.41 kB / 0.593 GB, free: 19.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.871e-05/0.5132, allocations: 89.86 kB / 0.5931 GB, free: 19.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.463e-06/0.5132, allocations: 30.39 kB / 0.5931 GB, free: 19.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.321e-05/0.5132, allocations: 80.14 kB / 0.5932 GB, free: 19.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.5133, allocations: 4.812 kB / 0.5932 GB, free: 19.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.5133, allocations: 19.67 kB / 0.5932 GB, free: 19.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.51e-05/0.5134, allocations: 310.8 kB / 0.5935 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.5134, allocations: 1.5 kB / 0.5935 GB, free: 19.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-06/0.5134, allocations: 1.469 kB / 0.5935 GB, free: 19.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.5134, allocations: 11.14 kB / 0.5935 GB, free: 19.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5134, allocations: 0.9062 kB / 0.5935 GB, free: 19.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.5135, allocations: 34.98 kB / 0.5935 GB, free: 19.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5135, allocations: 9.531 kB / 0.5935 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5135, allocations: 0 / 0.5935 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5135, allocations: 3.984 kB / 0.5935 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.5136, allocations: 2.875 kB / 0.5935 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.5136, allocations: 0 / 0.5935 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.5136, allocations: 4 kB / 0.5935 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.5136, allocations: 5.469 kB / 0.5935 GB, free: 19.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.5137, allocations: 111.2 kB / 0.5937 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.5137, allocations: 3.938 kB / 0.5937 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.759e-05/0.5138, allocations: 42.34 kB / 0.5937 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.5138, allocations: 0 / 0.5937 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5138, allocations: 1.344 kB / 0.5937 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5138, allocations: 0 / 0.5937 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.283e-05/0.5139, allocations: 147 kB / 0.5938 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5139, allocations: 4.031 kB / 0.5938 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.5139, allocations: 1.312 kB / 0.5938 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5139, allocations: 5.438 kB / 0.5939 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.5139, allocations: 3.984 kB / 0.5939 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5139, allocations: 7.922 kB / 0.5939 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5139, allocations: 1.281 kB / 0.5939 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.528e-05/0.514, allocations: 53.89 kB / 0.5939 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.514, allocations: 81.08 kB / 0.594 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.514, allocations: 9.031 kB / 0.594 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-06/0.514, allocations: 0 / 0.594 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.5141, allocations: 9.047 kB / 0.594 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5141, allocations: 1.281 kB / 0.594 GB, free: 18.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.437e-05/0.5141, allocations: 75.28 kB / 0.5941 GB, free: 18.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5141, allocations: 0 / 0.5941 GB, free: 18.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.5143, allocations: 8.906 kB / 0.5941 GB, free: 18.62 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 (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.0001524/0.5145, allocations: 107.8 kB / 0.5942 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.835e-05/0.5146, allocations: 8.156 kB / 0.5942 GB, free: 18.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5146, allocations: 0 / 0.5942 GB, free: 18.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.815e-06/0.5146, allocations: 9.547 kB / 0.5942 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.5147, allocations: 5.359 kB / 0.5942 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001575/0.5149, allocations: 80.94 kB / 0.5943 GB, free: 18.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.515, allocations: 0.669 MB / 0.5949 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.673e-05/0.515, allocations: 12.06 kB / 0.595 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.515, allocations: 7.438 kB / 0.595 GB, free: 17.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.515, allocations: 0 / 0.595 GB, free: 17.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002616/0.5177, allocations: 455.4 kB / 0.5954 GB, free: 17.27 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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)