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.2059/0.2088, allocations: 80.83 MB / 0.5899 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002186/0.2111, allocations: 0.619 MB / 0.5905 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2126, allocations: 0.9605 MB / 0.5914 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.546e-05/0.2126, allocations: 0 / 0.5914 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.2127, allocations: 0 / 0.5914 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.2127, allocations: 4 kB / 0.5914 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.2132, allocations: 59.86 kB / 0.5915 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.768e-05/0.2133, allocations: 4 kB / 0.5915 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.318e-05/0.2134, allocations: 0 / 0.5915 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.2134, allocations: 0 / 0.5915 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.691e-05/0.2134, allocations: 0 / 0.5915 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.2135, allocations: 0 / 0.5915 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.2137, allocations: 91.91 kB / 0.5916 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.2137, allocations: 3.984 kB / 0.5916 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.2138, allocations: 7.938 kB / 0.5916 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.2139, allocations: 39.95 kB / 0.5916 GB, free: 5.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.214, allocations: 4 kB / 0.5916 GB, free: 5.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.214, allocations: 3.938 kB / 0.5916 GB, free: 5.203 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.214, allocations: 0 / 0.5916 GB, free: 5.203 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.0004522/0.2144, allocations: 327.6 kB / 0.5919 GB, free: 4.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.2145, allocations: 12.03 kB / 0.592 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.2145, allocations: 0.9375 kB / 0.592 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2147, allocations: 164.4 kB / 0.5921 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2147, allocations: 384 / 0.5921 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2147, allocations: 384 / 0.5921 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.2148, allocations: 37.83 kB / 0.5922 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2149, allocations: 0 / 0.5922 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2149, allocations: 0 / 0.5922 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2149, allocations: 0 / 0.5922 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.62e-05/0.2149, allocations: 0 / 0.5922 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.2151, allocations: 153.7 kB / 0.5923 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.583e-05/0.2152, allocations: 18.52 kB / 0.5923 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.2152, allocations: 8.953 kB / 0.5923 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.2159, allocations: 0.5622 MB / 0.5929 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.216, allocations: 34.5 kB / 0.5929 GB, free: 3.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.433e-06/0.216, allocations: 0 / 0.5929 GB, free: 3.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.2161, allocations: 37.62 kB / 0.5929 GB, free: 3.566 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2162, allocations: 51.41 kB / 0.593 GB, free: 3.504 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.27e-05/0.2163, allocations: 93.98 kB / 0.5931 GB, free: 3.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2163, allocations: 29.64 kB / 0.5931 GB, free: 3.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.2163, allocations: 88.08 kB / 0.5932 GB, free: 3.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.2163, allocations: 12.11 kB / 0.5932 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.2164, allocations: 13.72 kB / 0.5932 GB, free: 3.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2165, allocations: 310.8 kB / 0.5935 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.2165, allocations: 4 kB / 0.5935 GB, free: 2.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-06/0.2165, allocations: 0 / 0.5935 GB, free: 2.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.2166, allocations: 20.91 kB / 0.5935 GB, free: 2.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2166, allocations: 0 / 0.5935 GB, free: 2.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.116e-05/0.2166, allocations: 33.64 kB / 0.5936 GB, free: 2.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2166, allocations: 7.938 kB / 0.5936 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2167, allocations: 0 / 0.5936 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2167, allocations: 4 kB / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.2167, allocations: 0 / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2167, allocations: 0 / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.074e-05/0.2167, allocations: 0 / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2168, allocations: 8.031 kB / 0.5936 GB, free: 2.848 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 6.494e-05/0.2168, allocations: 110.7 kB / 0.5937 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.2168, allocations: 7.922 kB / 0.5937 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.217, allocations: 32.83 kB / 0.5937 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.217, allocations: 0 / 0.5937 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.217, allocations: 4 kB / 0.5937 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.217, allocations: 0 / 0.5937 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.359e-05/0.2171, allocations: 153.7 kB / 0.5939 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2171, allocations: 0 / 0.5939 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.2171, allocations: 3.938 kB / 0.5939 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2171, allocations: 7.938 kB / 0.5939 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2171, allocations: 0 / 0.5939 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2171, allocations: 0 / 0.5939 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2172, allocations: 3.984 kB / 0.5939 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.2173, allocations: 57.12 kB / 0.594 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.2173, allocations: 85.08 kB / 0.594 GB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.2173, allocations: 4 kB / 0.594 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.2173, allocations: 0 / 0.594 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.2174, allocations: 0 / 0.594 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2174, allocations: 0 / 0.594 GB, free: 2.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.2174, allocations: 76 kB / 0.5941 GB, free: 2.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2174, allocations: 3.938 kB / 0.5941 GB, free: 2.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.2176, allocations: 8 kB / 0.5941 GB, free: 2.199 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.0001501/0.2178, allocations: 107.2 kB / 0.5942 GB, free: 2.086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.962e-05/0.2179, allocations: 7.938 kB / 0.5942 GB, free: 2.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2179, allocations: 0 / 0.5942 GB, free: 2.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-06/0.2179, allocations: 7.938 kB / 0.5942 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.218, allocations: 2.672 kB / 0.5942 GB, free: 2.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001793/0.2182, allocations: 76.94 kB / 0.5943 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.2184, allocations: 0.6768 MB / 0.595 GB, free: 1.266 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.074e-05/0.2185, allocations: 4.125 kB / 0.595 GB, free: 1.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.2185, allocations: 7.438 kB / 0.595 GB, free: 1.254 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2185, allocations: 0 / 0.595 GB, free: 1.254 MB / 446.1 MB Notification: Performance of Templates: time 0.002505/0.221, allocations: 302.1 kB / 0.5953 GB, free: 0.9688 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)