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.2436/0.2445, allocations: 82.22 MB / 0.5935 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00212/0.2467, allocations: 1.139 MB / 0.5946 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.2474, allocations: 335.9 kB / 0.5949 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.2475, allocations: 0 / 0.5949 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.2476, allocations: 4 kB / 0.5949 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.2476, allocations: 7.922 kB / 0.5949 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.2482, allocations: 67.86 kB / 0.595 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.2484, allocations: 27.91 kB / 0.595 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.2484, allocations: 4 kB / 0.595 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.2485, allocations: 7.938 kB / 0.595 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.2486, allocations: 11.98 kB / 0.595 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2486, allocations: 4 kB / 0.595 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.2491, allocations: 259.7 kB / 0.5953 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.2491, allocations: 15.86 kB / 0.5953 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.2491, allocations: 29.7 kB / 0.5953 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.2493, allocations: 64.17 kB / 0.5954 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.2494, allocations: 0 / 0.5954 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2494, allocations: 0 / 0.5954 GB, free: 4.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.2494, allocations: 0 / 0.5954 GB, free: 4.016 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.000703/0.2501, allocations: 371.2 kB / 0.5957 GB, free: 3.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.2502, allocations: 8.031 kB / 0.5957 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.2503, allocations: 7.906 kB / 0.5957 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.2504, allocations: 163.1 kB / 0.5959 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.2505, allocations: 0 / 0.5959 GB, free: 3.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.2505, allocations: 4 kB / 0.5959 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.2507, allocations: 61.56 kB / 0.596 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2507, allocations: 4 kB / 0.596 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2508, allocations: 4 kB / 0.596 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2508, allocations: 0 / 0.596 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.251, allocations: 43.95 kB / 0.596 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.2514, allocations: 253 kB / 0.5963 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2516, allocations: 46.52 kB / 0.5963 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.2517, allocations: 28.91 kB / 0.5963 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.2523, allocations: 465.4 kB / 0.5968 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.2524, allocations: 34.56 kB / 0.5968 GB, free: 2.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.2524, allocations: 4 kB / 0.5968 GB, free: 2.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000404/0.2528, allocations: 93.64 kB / 0.5969 GB, free: 2.195 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.2529, allocations: 55.53 kB / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.253, allocations: 105.8 kB / 0.597 GB, free: 2.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.253, allocations: 29.7 kB / 0.5971 GB, free: 1.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.2531, allocations: 84.08 kB / 0.5972 GB, free: 1.895 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2531, allocations: 11.84 kB / 0.5972 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2531, allocations: 0 / 0.5972 GB, free: 1.883 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.2533, allocations: 314.8 kB / 0.5975 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/0.2534, allocations: 27.92 kB / 0.5975 GB, free: 1.539 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.2535, allocations: 27.91 kB / 0.5975 GB, free: 1.512 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.2536, allocations: 23.98 kB / 0.5975 GB, free: 1.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2536, allocations: 64 / 0.5975 GB, free: 1.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002278/0.2538, allocations: 85.52 kB / 0.5976 GB, free: 1.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2538, allocations: 8 kB / 0.5976 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2538, allocations: 0 / 0.5976 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2539, allocations: 0 / 0.5976 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.254, allocations: 12.03 kB / 0.5976 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.254, allocations: 7.969 kB / 0.5977 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.254, allocations: 8 kB / 0.5977 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.254, allocations: 0 / 0.5977 GB, free: 1.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/0.2541, allocations: 106.7 kB / 0.5978 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.2542, allocations: 15.94 kB / 0.5978 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.2544, allocations: 89.11 kB / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2544, allocations: 0 / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2544, allocations: 0 / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2544, allocations: 0 / 0.5979 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.2546, allocations: 161.7 kB / 0.598 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2546, allocations: 3.984 kB / 0.598 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.2547, allocations: 12.03 kB / 0.598 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.2547, allocations: 3.953 kB / 0.598 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.2547, allocations: 256 / 0.598 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2547, allocations: 4 kB / 0.598 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2547, allocations: 0 / 0.598 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.255, allocations: 175.5 kB / 0.5982 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.2551, allocations: 89 kB / 0.5983 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2551, allocations: 3.953 kB / 0.5983 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.2552, allocations: 8 kB / 0.5983 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.2552, allocations: 3.984 kB / 0.5983 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2552, allocations: 4 kB / 0.5983 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.093e-05/0.2553, allocations: 87.31 kB / 0.5984 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.2553, allocations: 0 / 0.5984 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.2555, allocations: 19.94 kB / 0.5984 GB, free: 0.4961 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 (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.0002096/0.2557, allocations: 107.2 kB / 0.5985 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.2559, allocations: 47.97 kB / 0.5986 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.256, allocations: 0 / 0.5986 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.256, allocations: 31.91 kB / 0.5986 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2563, allocations: 4 kB / 0.5986 GB, free: 308 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.2567, allocations: 108.8 kB / 0.5987 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.257, allocations: 0.6809 MB / 0.5994 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.797e-05/0.257, allocations: 4 kB / 0.5994 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.257, allocations: 7.438 kB / 0.5994 GB, free: 15.45 MB / 462.1 MB Notification: Performance of SimCode: time 4.6e-07/0.257, allocations: 0 / 0.5994 GB, free: 15.45 MB / 462.1 MB Notification: Performance of Templates: time 0.003184/0.2602, allocations: 0.6252 MB / 0.6 GB, free: 14.82 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: