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.0009792/0.0009792, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009731/0.0009732, allocations: 193 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.1 MB / 222 MB, free: 4.793 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.347/1.347, allocations: 251.6 MB / 0.5088 GB, free: 3.395 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.001279/0.001279, allocations: 63.91 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.358, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001553/0.3596, allocations: 0.6471 MB / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3608, allocations: 1.287 MB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-06/0.3609, allocations: 4 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.3609, allocations: 3.938 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-06/0.3609, allocations: 0 / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.3611, allocations: 47.88 kB / 0.7258 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.887e-05/0.3612, allocations: 4 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.852e-05/0.3612, allocations: 0 / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.053e-05/0.3612, allocations: 0 / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.3612, allocations: 4 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.3613, allocations: 0 / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.3614, allocations: 99.89 kB / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.3615, allocations: 0 / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.275e-05/0.3615, allocations: 3.938 kB / 0.7259 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.3616, allocations: 47.94 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3616, allocations: 0 / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3616, allocations: 0 / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.3616, allocations: 0 / 0.7259 GB, free: 10.98 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.0002382/0.3618, allocations: 327.6 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.3619, allocations: 8.031 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.3619, allocations: 8.781 kB / 0.7262 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.24e-05/0.362, allocations: 164.4 kB / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.362, allocations: 4.375 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.362, allocations: 8.312 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.397e-05/0.3621, allocations: 30.02 kB / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.3621, allocations: 0 / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.3621, allocations: 3.984 kB / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.3621, allocations: 0 / 0.7264 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.3621, allocations: 4 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.3622, allocations: 145.7 kB / 0.7266 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.092e-05/0.3623, allocations: 22.67 kB / 0.7266 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.3623, allocations: 8.797 kB / 0.7266 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.3628, allocations: 0.5583 MB / 0.7272 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3628, allocations: 34.5 kB / 0.7272 GB, free: 9.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3628, allocations: 4 kB / 0.7272 GB, free: 9.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 9.285e-05/0.3629, allocations: 33.7 kB / 0.7272 GB, free: 9.336 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3629, allocations: 55.41 kB / 0.7273 GB, free: 9.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.866e-05/0.363, allocations: 89.86 kB / 0.7274 GB, free: 9.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.363, allocations: 29.64 kB / 0.7274 GB, free: 9.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.363, allocations: 80.14 kB / 0.7275 GB, free: 9.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.363, allocations: 0 / 0.7275 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.3631, allocations: 13.7 kB / 0.7275 GB, free: 9.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.3632, allocations: 319 kB / 0.7278 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.3632, allocations: 11.94 kB / 0.7278 GB, free: 8.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.3632, allocations: 0 / 0.7278 GB, free: 8.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.3632, allocations: 8.859 kB / 0.7278 GB, free: 8.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3632, allocations: 0 / 0.7278 GB, free: 8.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.194e-05/0.3633, allocations: 29.7 kB / 0.7278 GB, free: 8.656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3633, allocations: 11.94 kB / 0.7278 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.3633, allocations: 0 / 0.7278 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.3633, allocations: 8.078 kB / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.485e-05/0.3633, allocations: 3.984 kB / 0.7279 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.3633, allocations: 0 / 0.7279 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.728e-06/0.3634, allocations: 4 kB / 0.7279 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3634, allocations: 0 / 0.7279 GB, free: 8.629 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.3634, allocations: 109.8 kB / 0.728 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.3634, allocations: 3.938 kB / 0.728 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.147e-05/0.3635, allocations: 48.81 kB / 0.728 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3635, allocations: 0 / 0.728 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3635, allocations: 0 / 0.728 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3635, allocations: 0 / 0.728 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.157e-05/0.3636, allocations: 143.7 kB / 0.7282 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3636, allocations: 3.938 kB / 0.7282 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.3636, allocations: 4 kB / 0.7282 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3636, allocations: 3.938 kB / 0.7282 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.3636, allocations: 0 / 0.7282 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3637, allocations: 3.984 kB / 0.7282 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3637, allocations: 3.984 kB / 0.7282 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.587e-05/0.3637, allocations: 65.11 kB / 0.7282 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.3638, allocations: 77.11 kB / 0.7283 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.3638, allocations: 3.938 kB / 0.7283 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-06/0.3638, allocations: 0 / 0.7283 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.3638, allocations: 3.984 kB / 0.7283 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3638, allocations: 4 kB / 0.7283 GB, free: 8.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.063e-05/0.3638, allocations: 79.25 kB / 0.7284 GB, free: 7.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3638, allocations: 4 kB / 0.7284 GB, free: 7.977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001739/0.364, allocations: 4 kB / 0.7284 GB, free: 7.973 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 (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.0001252/0.3642, allocations: 107.2 kB / 0.7285 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.297e-05/0.3642, allocations: 4 kB / 0.7285 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3642, allocations: 0 / 0.7285 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-06/0.3642, allocations: 3.938 kB / 0.7285 GB, free: 7.848 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.3643, allocations: 7.984 kB / 0.7285 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001213/0.3645, allocations: 78.8 kB / 0.7286 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3647, allocations: 0.6692 MB / 0.7293 GB, free: 7.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.3647, allocations: 4 kB / 0.7293 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.284e-05/0.3647, allocations: 11.44 kB / 0.7293 GB, free: 7.027 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.3647, allocations: 0 / 0.7293 GB, free: 7.027 MB / 0.545 GB Notification: Performance of Templates: time 0.001636/0.3664, allocations: 307.5 kB / 0.7296 GB, free: 6.73 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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)