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.247/0.2512, allocations: 80.84 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003407/0.2547, allocations: 1.408 MB / 0.672 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000806/0.2555, allocations: 363.1 kB / 0.6723 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.2556, allocations: 4 kB / 0.6723 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.2556, allocations: 3.938 kB / 0.6723 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.992e-05/0.2557, allocations: 7.922 kB / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.2562, allocations: 115.6 kB / 0.6725 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.2563, allocations: 23.92 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2564, allocations: 8 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.68e-05/0.2565, allocations: 15.92 kB / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.2566, allocations: 8 kB / 0.6725 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.2566, allocations: 7.938 kB / 0.6725 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.257, allocations: 271.6 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.257, allocations: 4 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.2571, allocations: 7.938 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.2573, allocations: 111.8 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2574, allocations: 4 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.288e-06/0.2574, allocations: 4 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.2574, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB 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.000658/0.2581, allocations: 359.5 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.2581, allocations: 8.031 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.2582, allocations: 0.9375 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2584, allocations: 176.2 kB / 0.6734 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2585, allocations: 4.375 kB / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.2585, allocations: 384 / 0.6734 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2587, allocations: 61.55 kB / 0.6735 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2587, allocations: 0 / 0.6735 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.2588, allocations: 4 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.2588, allocations: 4 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.259, allocations: 35.94 kB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.2594, allocations: 248.9 kB / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2595, allocations: 46.48 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.2596, allocations: 24.91 kB / 0.6738 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.2604, allocations: 453.5 kB / 0.6743 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2604, allocations: 30.56 kB / 0.6743 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 3.948e-06/0.2604, allocations: 0 / 0.6743 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004513/0.2609, allocations: 85.58 kB / 0.6744 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2609, allocations: 63.47 kB / 0.6744 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.261, allocations: 101.8 kB / 0.6745 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.261, allocations: 29.7 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.2611, allocations: 84.14 kB / 0.6747 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.2611, allocations: 7.891 kB / 0.6747 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.2612, allocations: 17.72 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2613, allocations: 314.8 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.2614, allocations: 19.98 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.2615, allocations: 19.98 kB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2617, allocations: 40.81 kB / 0.6751 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2617, allocations: 0 / 0.6751 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002206/0.2619, allocations: 81.56 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2619, allocations: 4 kB / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2619, allocations: 0 / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2619, allocations: 0 / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.262, allocations: 8 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2621, allocations: 3.984 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.2621, allocations: 4 kB / 0.6752 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2621, allocations: 0 / 0.6752 GB, free: 13.02 MB / 0.5137 GB 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 8.417e-05/0.2622, allocations: 113.8 kB / 0.6753 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.2623, allocations: 4.031 kB / 0.6753 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.2625, allocations: 77.17 kB / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2626, allocations: 0 / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.2626, allocations: 0 / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2626, allocations: 0 / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.2627, allocations: 161.6 kB / 0.6755 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2627, allocations: 4 kB / 0.6755 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.2628, allocations: 11.95 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2628, allocations: 4 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.2628, allocations: 4.25 kB / 0.6755 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.2629, allocations: 11.94 kB / 0.6755 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2629, allocations: 0 / 0.6755 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.2631, allocations: 163.4 kB / 0.6757 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.2632, allocations: 85.12 kB / 0.6758 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2632, allocations: 0 / 0.6758 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.2633, allocations: 11.94 kB / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.2633, allocations: 7.984 kB / 0.6758 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.2633, allocations: 0 / 0.6758 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.236e-05/0.2634, allocations: 79.28 kB / 0.6759 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2634, allocations: 0 / 0.6759 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002431/0.2636, allocations: 16 kB / 0.6759 GB, free: 12.17 MB / 0.5137 GB 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.0002138/0.2639, allocations: 123.2 kB / 0.676 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.2641, allocations: 35.91 kB / 0.676 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2641, allocations: 0 / 0.676 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.2642, allocations: 23.97 kB / 0.676 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.2646, allocations: 4 kB / 0.676 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.2649, allocations: 113.5 kB / 0.6762 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2652, allocations: 0.6729 MB / 0.6768 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.2652, allocations: 3.984 kB / 0.6768 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.2652, allocations: 11.44 kB / 0.6768 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2652, allocations: 3.938 kB / 0.6768 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.003554/0.2688, allocations: 0.7179 MB / 0.6775 GB, free: 10.41 MB / 0.5137 GB 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)