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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6835/0.6835, allocations: 132.3 MB / 144.9 MB, free: 10.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001224/0.001224, allocations: 178.2 kB / 176.9 MB, free: 2.176 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.288/1.288, allocations: 170.5 MB / 379.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001492/0.001492, allocations: 106.5 kB / 450 MB, free: 5.789 MB / 346.7 MB [/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.4156/0.4157, allocations: 73.38 MB / 0.6736 GB, free: 47.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.5428, allocations: 101.7 MB / 0.7729 GB, free: 15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.5431, allocations: 79.94 kB / 0.773 GB, free: 14.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003118/0.5462, allocations: 1.192 MB / 0.7742 GB, free: 13.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5462, allocations: 0 / 0.7742 GB, free: 13.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.5462, allocations: 4.656 kB / 0.7742 GB, free: 13.75 MB / 490.7 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.0002442/0.5465, allocations: 332.7 kB / 0.7745 GB, free: 13.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5465, allocations: 8.031 kB / 0.7745 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.5466, allocations: 4 kB / 0.7745 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/0.5467, allocations: 167.4 kB / 0.7746 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5467, allocations: 0 / 0.7746 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.5467, allocations: 0 / 0.7746 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.765e-05/0.5468, allocations: 29.7 kB / 0.7747 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5468, allocations: 6.812 kB / 0.7747 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.5468, allocations: 3.609 kB / 0.7747 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.5468, allocations: 4 kB / 0.7747 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.5468, allocations: 5.141 kB / 0.7747 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.547, allocations: 141.7 kB / 0.7748 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.147e-05/0.547, allocations: 21.67 kB / 0.7748 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.547, allocations: 4.859 kB / 0.7749 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004716/0.5475, allocations: 0.5642 MB / 0.7754 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.5476, allocations: 38.56 kB / 0.7754 GB, free: 12.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5476, allocations: 0 / 0.7754 GB, free: 12.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001035/0.5477, allocations: 37.59 kB / 0.7755 GB, free: 12.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.5477, allocations: 51.41 kB / 0.7755 GB, free: 12.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.797e-05/0.5478, allocations: 89 kB / 0.7756 GB, free: 11.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.5478, allocations: 25.7 kB / 0.7756 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.5478, allocations: 84.08 kB / 0.7757 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.5478, allocations: 5.906 kB / 0.7757 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.5479, allocations: 0 / 0.7757 GB, free: 11.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.548, allocations: 314.8 kB / 0.776 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.548, allocations: 4 kB / 0.776 GB, free: 11.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.548, allocations: 0 / 0.776 GB, free: 11.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.383e-05/0.548, allocations: 0 / 0.776 GB, free: 11.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.548, allocations: 4 kB / 0.776 GB, free: 11.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.498e-05/0.5481, allocations: 29.7 kB / 0.7761 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.5481, allocations: 4.094 kB / 0.7761 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5481, allocations: 4 kB / 0.7761 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.5481, allocations: 3.938 kB / 0.7761 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.5482, allocations: 4 kB / 0.7761 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5482, allocations: 7.938 kB / 0.7761 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.5482, allocations: 2.906 kB / 0.7761 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.5482, allocations: 0 / 0.7761 GB, free: 11.46 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.5483, allocations: 109 kB / 0.7762 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-06/0.5483, allocations: 0 / 0.7762 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-05/0.5484, allocations: 36.83 kB / 0.7762 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5484, allocations: 0 / 0.7762 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5484, allocations: 0 / 0.7762 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5484, allocations: 7.938 kB / 0.7762 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.481e-05/0.5485, allocations: 145.7 kB / 0.7764 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5485, allocations: 0 / 0.7764 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.5485, allocations: 0 / 0.7764 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5485, allocations: 0 / 0.7764 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.5485, allocations: 4 kB / 0.7764 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5485, allocations: 9.219 kB / 0.7764 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5485, allocations: 0 / 0.7764 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.056e-05/0.5486, allocations: 65.64 kB / 0.7764 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.5486, allocations: 77.11 kB / 0.7765 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-06/0.5487, allocations: 4 kB / 0.7765 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.5487, allocations: 1.453 kB / 0.7765 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-06/0.5487, allocations: 0 / 0.7765 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.5487, allocations: 0 / 0.7765 GB, free: 10.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.5487, allocations: 79.31 kB / 0.7766 GB, free: 10.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5487, allocations: 5.719 kB / 0.7766 GB, free: 10.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001679/0.5489, allocations: 15.92 kB / 0.7766 GB, free: 10.82 MB / 490.7 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 () * 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 (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.000128/0.549, allocations: 107.2 kB / 0.7767 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.192e-05/0.5491, allocations: 7.938 kB / 0.7767 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5491, allocations: 0 / 0.7767 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-06/0.5491, allocations: 0 / 0.7767 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.848e-05/0.5492, allocations: 13.02 kB / 0.7767 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001309/0.5493, allocations: 45.05 kB / 0.7768 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5496, allocations: 0.6692 MB / 0.7774 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.5496, allocations: 5.172 kB / 0.7774 GB, free: 9.922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.5496, allocations: 7.438 kB / 0.7774 GB, free: 9.918 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5496, allocations: 0 / 0.7774 GB, free: 9.918 MB / 490.7 MB Notification: Performance of Templates: time 0.00165/0.5513, allocations: 286.8 kB / 0.7777 GB, free: 9.668 MB / 490.7 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)