Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [/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.2403/0.2437, allocations: 80.83 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.003044/0.2468, allocations: 0.6151 MB / 0.5903 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.2489, allocations: 0.9684 MB / 0.5912 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.249, allocations: 0 / 0.5912 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.249, allocations: 3.938 kB / 0.5912 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.715e-06/0.2491, allocations: 0 / 0.5912 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.2495, allocations: 47.89 kB / 0.5913 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.2496, allocations: 4 kB / 0.5913 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.179e-05/0.2497, allocations: 4 kB / 0.5913 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.2497, allocations: 3.984 kB / 0.5913 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.2498, allocations: 3.984 kB / 0.5913 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.2498, allocations: 0 / 0.5913 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.2501, allocations: 91.91 kB / 0.5914 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2501, allocations: 0 / 0.5914 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.2502, allocations: 3.938 kB / 0.5914 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.2503, allocations: 47.94 kB / 0.5914 GB, free: 5.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2504, allocations: 8 kB / 0.5914 GB, free: 5.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2504, allocations: 0 / 0.5914 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2504, allocations: 0 / 0.5914 GB, free: 5.273 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.0004695/0.2509, allocations: 319.6 kB / 0.5917 GB, free: 4.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.2509, allocations: 8.031 kB / 0.5918 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.251, allocations: 4.938 kB / 0.5918 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2511, allocations: 164.3 kB / 0.5919 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2512, allocations: 4.375 kB / 0.5919 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2512, allocations: 384 / 0.5919 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.2513, allocations: 41.8 kB / 0.592 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2513, allocations: 0 / 0.592 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2514, allocations: 7.938 kB / 0.592 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2514, allocations: 0 / 0.592 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.606e-05/0.2514, allocations: 0 / 0.592 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.2516, allocations: 141.7 kB / 0.5921 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.2517, allocations: 26.55 kB / 0.5921 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.2517, allocations: 4.859 kB / 0.5921 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008057/0.2525, allocations: 0.5623 MB / 0.5927 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.2525, allocations: 34.5 kB / 0.5927 GB, free: 3.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.2526, allocations: 0 / 0.5927 GB, free: 3.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001778/0.2527, allocations: 37.7 kB / 0.5927 GB, free: 3.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2528, allocations: 55.39 kB / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.2529, allocations: 93.98 kB / 0.5929 GB, free: 3.469 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2529, allocations: 25.7 kB / 0.5929 GB, free: 3.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.2529, allocations: 84.08 kB / 0.593 GB, free: 3.352 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.253, allocations: 12.06 kB / 0.593 GB, free: 3.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.253, allocations: 13.72 kB / 0.593 GB, free: 3.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2532, allocations: 310.8 kB / 0.5933 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.2532, allocations: 4 kB / 0.5933 GB, free: 3.004 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.2532, allocations: 4 kB / 0.5933 GB, free: 3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.2532, allocations: 8.922 kB / 0.5933 GB, free: 2.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2532, allocations: 0 / 0.5933 GB, free: 2.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.265e-05/0.2533, allocations: 37.69 kB / 0.5934 GB, free: 2.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2533, allocations: 7.938 kB / 0.5934 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2534, allocations: 4 kB / 0.5934 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2534, allocations: 0 / 0.5934 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.2535, allocations: 4 kB / 0.5934 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2535, allocations: 3.938 kB / 0.5934 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.2535, allocations: 0 / 0.5934 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.2535, allocations: 4.031 kB / 0.5934 GB, free: 2.922 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 0.0001067/0.2536, allocations: 106.7 kB / 0.5935 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.2536, allocations: 7.938 kB / 0.5935 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.2538, allocations: 40.81 kB / 0.5935 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2538, allocations: 0 / 0.5935 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2538, allocations: 0 / 0.5935 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2538, allocations: 0 / 0.5935 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2539, allocations: 149.7 kB / 0.5937 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.254, allocations: 3.984 kB / 0.5937 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.254, allocations: 0 / 0.5937 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.254, allocations: 3.938 kB / 0.5937 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.254, allocations: 0 / 0.5937 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.254, allocations: 4 kB / 0.5937 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.254, allocations: 0 / 0.5937 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/0.2541, allocations: 61.02 kB / 0.5938 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.2542, allocations: 89.06 kB / 0.5938 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2542, allocations: 4 kB / 0.5938 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-06/0.2542, allocations: 0 / 0.5938 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.2542, allocations: 0 / 0.5938 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.2542, allocations: 0 / 0.5938 GB, free: 2.359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.517e-05/0.2543, allocations: 75.28 kB / 0.5939 GB, free: 2.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2543, allocations: 3.938 kB / 0.5939 GB, free: 2.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.2545, allocations: 4 kB / 0.5939 GB, free: 2.277 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.0003027/0.2548, allocations: 115.2 kB / 0.594 GB, free: 2.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.471e-05/0.2549, allocations: 7.938 kB / 0.594 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2549, allocations: 0 / 0.594 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.2549, allocations: 0 / 0.594 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.2551, allocations: 13.38 kB / 0.594 GB, free: 2.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.2553, allocations: 74.7 kB / 0.5941 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2557, allocations: 0.6692 MB / 0.5948 GB, free: 1.352 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.089e-05/0.2557, allocations: 12.11 kB / 0.5948 GB, free: 1.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.2557, allocations: 11.44 kB / 0.5948 GB, free: 1.328 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2557, allocations: 0 / 0.5948 GB, free: 1.328 MB / 446.1 MB Notification: Performance of Templates: time 0.002542/0.2583, allocations: 291.6 kB / 0.5951 GB, free: 1.051 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)