Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice") [/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.2174/0.2194, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00305/0.2225, allocations: 1.531 MB / 0.5912 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2237, allocations: 0.6833 MB / 0.5918 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.2238, allocations: 3.938 kB / 0.5918 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.2238, allocations: 4 kB / 0.5919 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.486e-05/0.2239, allocations: 3.938 kB / 0.5919 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.2242, allocations: 59.88 kB / 0.5919 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.2242, allocations: 35.86 kB / 0.5919 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.2243, allocations: 8.281 kB / 0.592 GB, free: 4.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.908e-05/0.2244, allocations: 23.91 kB / 0.592 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.2245, allocations: 15.92 kB / 0.592 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.2245, allocations: 0 / 0.592 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.2247, allocations: 91.91 kB / 0.5921 GB, free: 4.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2247, allocations: 11.92 kB / 0.5921 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.2247, allocations: 15.94 kB / 0.5921 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2249, allocations: 79.72 kB / 0.5922 GB, free: 4.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2249, allocations: 0 / 0.5922 GB, free: 4.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2249, allocations: 0 / 0.5922 GB, free: 4.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2249, allocations: 0 / 0.5922 GB, free: 4.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005332/0.2255, allocations: 370.8 kB / 0.5925 GB, free: 4.133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2255, allocations: 8.031 kB / 0.5925 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.2256, allocations: 4.938 kB / 0.5925 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.2257, allocations: 176.2 kB / 0.5927 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2257, allocations: 8.375 kB / 0.5927 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2257, allocations: 4.125 kB / 0.5927 GB, free: 3.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.2259, allocations: 49.69 kB / 0.5928 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2259, allocations: 0 / 0.5928 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2259, allocations: 4 kB / 0.5928 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2259, allocations: 0 / 0.5928 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.226, allocations: 31.97 kB / 0.5928 GB, free: 3.809 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.2264, allocations: 284.6 kB / 0.5931 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/0.2265, allocations: 30.58 kB / 0.5931 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/0.2266, allocations: 12.91 kB / 0.5931 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004733/0.227, allocations: 0.5544 MB / 0.5937 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2271, allocations: 38.56 kB / 0.5937 GB, free: 2.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2271, allocations: 0 / 0.5937 GB, free: 2.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002421/0.2273, allocations: 69.52 kB / 0.5938 GB, free: 2.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.2274, allocations: 51.41 kB / 0.5938 GB, free: 2.559 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2275, allocations: 132.8 kB / 0.5939 GB, free: 2.422 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2275, allocations: 29.7 kB / 0.594 GB, free: 2.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.2276, allocations: 84.14 kB / 0.5941 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.2276, allocations: 12.03 kB / 0.5941 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.2276, allocations: 9.719 kB / 0.5941 GB, free: 2.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2278, allocations: 322.8 kB / 0.5944 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.2278, allocations: 4 kB / 0.5944 GB, free: 1.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.2279, allocations: 19.92 kB / 0.5944 GB, free: 1.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.043e-05/0.2279, allocations: 24.84 kB / 0.5944 GB, free: 1.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2279, allocations: 4.062 kB / 0.5944 GB, free: 1.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001143/0.2281, allocations: 53.62 kB / 0.5945 GB, free: 1.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2281, allocations: 6.031 kB / 0.5945 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2281, allocations: 4 kB / 0.5945 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2281, allocations: 0 / 0.5945 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.2282, allocations: 7.984 kB / 0.5945 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2282, allocations: 0 / 0.5945 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.2282, allocations: 3.938 kB / 0.5945 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2283, allocations: 4 kB / 0.5945 GB, free: 1.812 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.621e-05/0.2283, allocations: 113.9 kB / 0.5946 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2284, allocations: 7.906 kB / 0.5946 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.2285, allocations: 69.12 kB / 0.5947 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2286, allocations: 0 / 0.5947 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2286, allocations: 0 / 0.5947 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2286, allocations: 3.938 kB / 0.5947 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2287, allocations: 165.7 kB / 0.5949 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2288, allocations: 3.984 kB / 0.5949 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.2288, allocations: 20.03 kB / 0.5949 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2288, allocations: 0 / 0.5949 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.2288, allocations: 0 / 0.5949 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2289, allocations: 0 / 0.5949 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2289, allocations: 0 / 0.5949 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.229, allocations: 155.4 kB / 0.595 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.2291, allocations: 77.11 kB / 0.5951 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2291, allocations: 4.031 kB / 0.5951 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.204e-05/0.2292, allocations: 15.88 kB / 0.5951 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.2292, allocations: 7.922 kB / 0.5951 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2292, allocations: 0 / 0.5951 GB, free: 1.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.646e-05/0.2293, allocations: 95.27 kB / 0.5952 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2293, allocations: 0 / 0.5952 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.2295, allocations: 8 kB / 0.5952 GB, free: 0.9844 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.0001493/0.2297, allocations: 99.25 kB / 0.5953 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.2298, allocations: 23.98 kB / 0.5953 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2299, allocations: 0 / 0.5953 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.2299, allocations: 15.98 kB / 0.5954 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.2301, allocations: 4 kB / 0.5954 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.2305, allocations: 156.2 kB / 0.5955 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.2309, allocations: 0.6848 MB / 0.5962 GB, free: 15.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.772e-05/0.2309, allocations: 7.938 kB / 0.5962 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.2309, allocations: 7.438 kB / 0.5962 GB, free: 15.93 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2309, allocations: 0 / 0.5962 GB, free: 15.93 MB / 462.1 MB Notification: Performance of Templates: time 0.002628/0.2336, allocations: 451.7 kB / 0.5966 GB, free: 15.5 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)