Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001143, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.74/1.74, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009338/0.0009338, allocations: 12 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.5377, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007045/0.5384, allocations: 324.5 kB / 0.7284 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.5404, allocations: 1.244 MB / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.5404, allocations: 0 / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.132e-05/0.5405, allocations: 0 / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-06/0.5405, allocations: 0 / 0.7297 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.5409, allocations: 47.88 kB / 0.7297 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.7e-05/0.541, allocations: 0 / 0.7297 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.541, allocations: 0 / 0.7297 GB, free: 9.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.5411, allocations: 4 kB / 0.7297 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.5411, allocations: 4 kB / 0.7297 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.5411, allocations: 0 / 0.7297 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.5414, allocations: 91.83 kB / 0.7298 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.674e-06/0.5414, allocations: 0 / 0.7298 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.5415, allocations: 25.7 kB / 0.7298 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.5416, allocations: 35.97 kB / 0.7299 GB, free: 9.629 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5416, allocations: 0 / 0.7299 GB, free: 9.629 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5416, allocations: 0 / 0.7299 GB, free: 9.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.5416, allocations: 0 / 0.7299 GB, free: 9.629 MB / 0.545 GB 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.0003398/0.542, allocations: 327.4 kB / 0.7302 GB, free: 9.262 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.542, allocations: 8.031 kB / 0.7302 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.5421, allocations: 3.906 kB / 0.7302 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.5422, allocations: 171 kB / 0.7304 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.5422, allocations: 3.984 kB / 0.7304 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.5422, allocations: 0 / 0.7304 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5424, allocations: 25.7 kB / 0.7304 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.5424, allocations: 0 / 0.7304 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.5424, allocations: 0 / 0.7304 GB, free: 9.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5424, allocations: 7.984 kB / 0.7304 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.5425, allocations: 7.938 kB / 0.7304 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.5427, allocations: 149.6 kB / 0.7305 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.5428, allocations: 18.61 kB / 0.7306 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.5428, allocations: 4.859 kB / 0.7306 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007411/0.5436, allocations: 0.5623 MB / 0.7311 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.5436, allocations: 38.5 kB / 0.7311 GB, free: 8.023 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.5436, allocations: 0 / 0.7311 GB, free: 8.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000208/0.5438, allocations: 37.64 kB / 0.7312 GB, free: 7.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.5439, allocations: 51.41 kB / 0.7312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.171e-05/0.544, allocations: 89.86 kB / 0.7313 GB, free: 7.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.544, allocations: 25.7 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.544, allocations: 80.14 kB / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.544, allocations: 128 / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-06/0.5441, allocations: 4 kB / 0.7314 GB, free: 7.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5442, allocations: 330.7 kB / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.5442, allocations: 0 / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-06/0.5442, allocations: 0 / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.5442, allocations: 0 / 0.7317 GB, free: 7.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5443, allocations: 4 kB / 0.7317 GB, free: 7.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.96e-05/0.5443, allocations: 33.64 kB / 0.7318 GB, free: 7.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5443, allocations: 4 kB / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5444, allocations: 4.094 kB / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5444, allocations: 0 / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.5444, allocations: 4 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.5444, allocations: 0 / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.5445, allocations: 3.984 kB / 0.7318 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.5445, allocations: 0 / 0.7318 GB, free: 7.312 MB / 0.545 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.042e-05/0.5446, allocations: 113.8 kB / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.5446, allocations: 4 kB / 0.7319 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.457e-05/0.5447, allocations: 36.83 kB / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5447, allocations: 0 / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5447, allocations: 4 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.5447, allocations: 3.984 kB / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.5448, allocations: 155.5 kB / 0.7321 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5448, allocations: 0 / 0.7321 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.5449, allocations: 0 / 0.7321 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5449, allocations: 0 / 0.7321 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5449, allocations: 4 kB / 0.7321 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5449, allocations: 0 / 0.7321 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5449, allocations: 4.031 kB / 0.7321 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.917e-05/0.545, allocations: 57.12 kB / 0.7322 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.545, allocations: 85 kB / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.5451, allocations: 4 kB / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.121e-05/0.5451, allocations: 0 / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.5451, allocations: 0 / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.5451, allocations: 0 / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.5451, allocations: 79.31 kB / 0.7323 GB, free: 6.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5451, allocations: 0 / 0.7323 GB, free: 6.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002308/0.5454, allocations: 7.984 kB / 0.7323 GB, free: 6.664 MB / 0.545 GB 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 (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.0001808/0.5456, allocations: 115.2 kB / 0.7324 GB, free: 6.539 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.5456, allocations: 4 kB / 0.7324 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5457, allocations: 0 / 0.7324 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.866e-06/0.5457, allocations: 4 kB / 0.7324 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.5458, allocations: 7.078 kB / 0.7324 GB, free: 6.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.546, allocations: 78.66 kB / 0.7325 GB, free: 6.426 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5463, allocations: 0.677 MB / 0.7332 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.5463, allocations: 0 / 0.7332 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.5463, allocations: 7.438 kB / 0.7332 GB, free: 5.715 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5463, allocations: 0 / 0.7332 GB, free: 5.715 MB / 0.545 GB Notification: Performance of Templates: time 0.00265/0.549, allocations: 296.1 kB / 0.7335 GB, free: 5.426 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: