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.5094/0.5119, allocations: 80.82 MB / 0.5904 GB, free: 22.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00334/0.5153, allocations: 1.464 MB / 0.5918 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.5166, allocations: 0.6812 MB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.5167, allocations: 0 / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.5167, allocations: 3.938 kB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.5168, allocations: 13.11 kB / 0.5925 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.5172, allocations: 77.61 kB / 0.5926 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.5173, allocations: 31.02 kB / 0.5926 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.5174, allocations: 14.78 kB / 0.5926 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.5176, allocations: 22.75 kB / 0.5927 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.5176, allocations: 18.52 kB / 0.5927 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.5177, allocations: 2.094 kB / 0.5927 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.5178, allocations: 103 kB / 0.5928 GB, free: 20.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.5179, allocations: 3.938 kB / 0.5928 GB, free: 20.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.5179, allocations: 16.62 kB / 0.5928 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.5181, allocations: 79.72 kB / 0.5929 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5181, allocations: 4.969 kB / 0.5929 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5181, allocations: 0 / 0.5929 GB, free: 20.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.5181, allocations: 1.5 kB / 0.5929 GB, free: 20.39 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.0005357/0.5187, allocations: 367.3 kB / 0.5932 GB, free: 19.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5187, allocations: 8.031 kB / 0.5932 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.5188, allocations: 5.625 kB / 0.5932 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5189, allocations: 176.2 kB / 0.5934 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5189, allocations: 1.25 kB / 0.5934 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.5189, allocations: 12.12 kB / 0.5934 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.5191, allocations: 51.23 kB / 0.5935 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5191, allocations: 0 / 0.5935 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5192, allocations: 7.938 kB / 0.5935 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.5192, allocations: 2.625 kB / 0.5935 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.5193, allocations: 23.98 kB / 0.5935 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.5197, allocations: 276.8 kB / 0.5938 GB, free: 19.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.5197, allocations: 38.5 kB / 0.5938 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.5198, allocations: 16.92 kB / 0.5938 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.5202, allocations: 0.5544 MB / 0.5944 GB, free: 18.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.5202, allocations: 34.56 kB / 0.5944 GB, free: 18.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5203, allocations: 0 / 0.5944 GB, free: 18.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002368/0.5205, allocations: 61.69 kB / 0.5945 GB, free: 18.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.5205, allocations: 51.41 kB / 0.5945 GB, free: 18.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.5206, allocations: 128.2 kB / 0.5946 GB, free: 18.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.5206, allocations: 29.64 kB / 0.5947 GB, free: 18.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.5207, allocations: 92.05 kB / 0.5947 GB, free: 18.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.5207, allocations: 3.938 kB / 0.5947 GB, free: 18.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.5207, allocations: 21.7 kB / 0.5948 GB, free: 18.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.5208, allocations: 315 kB / 0.5951 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.195e-05/0.5209, allocations: 15.98 kB / 0.5951 GB, free: 17.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.5209, allocations: 4 kB / 0.5951 GB, free: 17.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.521, allocations: 28.84 kB / 0.5951 GB, free: 17.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.521, allocations: 0 / 0.5951 GB, free: 17.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001022/0.5211, allocations: 57.59 kB / 0.5952 GB, free: 17.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5211, allocations: 8.094 kB / 0.5952 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5211, allocations: 3.984 kB / 0.5952 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5211, allocations: 0 / 0.5952 GB, free: 17.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/0.5212, allocations: 7.938 kB / 0.5952 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5212, allocations: 0 / 0.5952 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.5213, allocations: 11.88 kB / 0.5952 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.5213, allocations: 0 / 0.5952 GB, free: 17.67 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 6.472e-05/0.5214, allocations: 113.8 kB / 0.5953 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.5214, allocations: 7.844 kB / 0.5953 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.5215, allocations: 69.2 kB / 0.5954 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5216, allocations: 4 kB / 0.5954 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5216, allocations: 0 / 0.5954 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5216, allocations: 3.938 kB / 0.5954 GB, free: 17.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.5217, allocations: 165.7 kB / 0.5955 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5217, allocations: 0 / 0.5955 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.5217, allocations: 4 kB / 0.5956 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5218, allocations: 0 / 0.5956 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5218, allocations: 0 / 0.5956 GB, free: 17.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5218, allocations: 11.95 kB / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5218, allocations: 4 kB / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.5219, allocations: 151.4 kB / 0.5957 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.522, allocations: 81.11 kB / 0.5958 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.522, allocations: 0 / 0.5958 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.522, allocations: 3.984 kB / 0.5958 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.5221, allocations: 15.95 kB / 0.5958 GB, free: 16.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.5221, allocations: 0 / 0.5958 GB, free: 16.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.633e-05/0.5221, allocations: 99.2 kB / 0.5959 GB, free: 16.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5221, allocations: 0 / 0.5959 GB, free: 16.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.5224, allocations: 12 kB / 0.5959 GB, free: 16.84 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.0001482/0.5225, allocations: 107.3 kB / 0.596 GB, free: 16.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.5227, allocations: 27.92 kB / 0.596 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5227, allocations: 4.062 kB / 0.596 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-05/0.5227, allocations: 8 kB / 0.5961 GB, free: 16.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.5229, allocations: 4 kB / 0.5961 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.5233, allocations: 134.4 kB / 0.5962 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.5234, allocations: 0.6884 MB / 0.5969 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.5234, allocations: 4 kB / 0.5969 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.5235, allocations: 7.438 kB / 0.5969 GB, free: 15.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5235, allocations: 0 / 0.5969 GB, free: 15.8 MB / 446.1 MB Notification: Performance of Templates: time 0.002717/0.5262, allocations: 0.4953 MB / 0.5974 GB, free: 15.31 MB / 446.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)