Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.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.1974/0.2011, allocations: 80.84 MB / 0.5899 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00294/0.2041, allocations: 1.479 MB / 0.5913 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.2048, allocations: 363.5 kB / 0.5917 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.2049, allocations: 0 / 0.5917 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.2049, allocations: 0 / 0.5917 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.205, allocations: 3.938 kB / 0.5917 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.2054, allocations: 103.7 kB / 0.5918 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.2055, allocations: 27.91 kB / 0.5918 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.2056, allocations: 4.281 kB / 0.5918 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.2056, allocations: 15.94 kB / 0.5918 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.2057, allocations: 7.984 kB / 0.5918 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2057, allocations: 0 / 0.5918 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.206, allocations: 279.6 kB / 0.5921 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.2061, allocations: 11.94 kB / 0.5921 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.2061, allocations: 7.938 kB / 0.5921 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.2063, allocations: 111.7 kB / 0.5922 GB, free: 4.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2063, allocations: 0 / 0.5922 GB, free: 4.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2063, allocations: 0 / 0.5922 GB, free: 4.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2063, allocations: 0 / 0.5922 GB, free: 4.566 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004589/0.2068, allocations: 363.4 kB / 0.5926 GB, free: 4.164 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2068, allocations: 12.03 kB / 0.5926 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.2069, allocations: 4.844 kB / 0.5926 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.207, allocations: 168.4 kB / 0.5927 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.207, allocations: 384 / 0.5927 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.2071, allocations: 384 / 0.5927 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.2072, allocations: 57.78 kB / 0.5928 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2072, allocations: 3.938 kB / 0.5928 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.2073, allocations: 0 / 0.5928 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2073, allocations: 4 kB / 0.5928 GB, free: 3.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.2074, allocations: 31.97 kB / 0.5928 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.2077, allocations: 256.8 kB / 0.5931 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2079, allocations: 38.56 kB / 0.5931 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.208, allocations: 28.89 kB / 0.5931 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.2086, allocations: 453.5 kB / 0.5936 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2087, allocations: 38.5 kB / 0.5936 GB, free: 2.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2087, allocations: 0 / 0.5936 GB, free: 2.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003449/0.209, allocations: 85.55 kB / 0.5937 GB, free: 2.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2091, allocations: 51.41 kB / 0.5937 GB, free: 2.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.2092, allocations: 109.8 kB / 0.5938 GB, free: 2.613 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2092, allocations: 25.83 kB / 0.5939 GB, free: 2.582 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.2092, allocations: 92.14 kB / 0.594 GB, free: 2.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2092, allocations: 3.906 kB / 0.594 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.2093, allocations: 13.7 kB / 0.594 GB, free: 2.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2094, allocations: 322.8 kB / 0.5943 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.2095, allocations: 15.92 kB / 0.5943 GB, free: 2.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.2096, allocations: 23.92 kB / 0.5943 GB, free: 2.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2097, allocations: 40.88 kB / 0.5944 GB, free: 2.059 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2097, allocations: 0 / 0.5944 GB, free: 2.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.2099, allocations: 61.67 kB / 0.5944 GB, free: 1.992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2099, allocations: 10.03 kB / 0.5944 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.21, allocations: 7.969 kB / 0.5944 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.21, allocations: 0 / 0.5944 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.2101, allocations: 12.03 kB / 0.5944 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2101, allocations: 0 / 0.5944 GB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.2101, allocations: 11.98 kB / 0.5945 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.2101, allocations: 0 / 0.5945 GB, free: 1.953 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 (2): * Single equations (assignments): 2 * 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 7.672e-05/0.2102, allocations: 110.7 kB / 0.5946 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.2103, allocations: 7.938 kB / 0.5946 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.2105, allocations: 81.08 kB / 0.5946 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2105, allocations: 4 kB / 0.5946 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2105, allocations: 0 / 0.5946 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2105, allocations: 3.938 kB / 0.5947 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.2107, allocations: 157.6 kB / 0.5948 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2107, allocations: 0 / 0.5948 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.2107, allocations: 11.98 kB / 0.5948 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2108, allocations: 0 / 0.5948 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.2108, allocations: 0 / 0.5948 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2108, allocations: 0 / 0.5948 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2108, allocations: 4.031 kB / 0.5948 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.211, allocations: 171.4 kB / 0.595 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.2111, allocations: 77.11 kB / 0.5951 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2111, allocations: 0 / 0.5951 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.2112, allocations: 7.984 kB / 0.5951 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.2112, allocations: 4.031 kB / 0.5951 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2112, allocations: 4 kB / 0.5951 GB, free: 1.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.044e-05/0.2113, allocations: 91.52 kB / 0.5952 GB, free: 1.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2113, allocations: 0 / 0.5952 GB, free: 1.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.2115, allocations: 16 kB / 0.5952 GB, free: 1.121 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 (2): * Single equations (assignments): 2 * 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.0001776/0.2117, allocations: 111.2 kB / 0.5953 GB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.2119, allocations: 43.91 kB / 0.5953 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2119, allocations: 3.938 kB / 0.5953 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.212, allocations: 15.98 kB / 0.5953 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2122, allocations: 11.92 kB / 0.5953 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.2126, allocations: 117.4 kB / 0.5955 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2129, allocations: 0.6769 MB / 0.5961 GB, free: 88 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.2129, allocations: 4 kB / 0.5961 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.213, allocations: 11.44 kB / 0.5961 GB, free: 72 kB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.213, allocations: 0 / 0.5961 GB, free: 72 kB / 446.1 MB Notification: Performance of Templates: time 0.002986/0.216, allocations: 0.6577 MB / 0.5968 GB, free: 15.42 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)