Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009605, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000954/0.0009541, allocations: 191.3 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.193/1.193, allocations: 205.1 MB / 222 MB, free: 4.77 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.318/1.318, allocations: 251.6 MB / 0.5088 GB, free: 3.32 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.001432/0.001432, allocations: 67.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.376, allocations: 104.7 MB / 0.7238 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002478/0.3785, allocations: 1.554 MB / 0.7253 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.3795, allocations: 0.6988 MB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.956e-05/0.3795, allocations: 0 / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.3796, allocations: 3.938 kB / 0.726 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.341e-05/0.3796, allocations: 7.984 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.3799, allocations: 59.81 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.38, allocations: 39.86 kB / 0.7261 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.514e-05/0.38, allocations: 8 kB / 0.7261 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.3801, allocations: 11.98 kB / 0.7261 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.3802, allocations: 23.84 kB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.3802, allocations: 0 / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3803, allocations: 91.92 kB / 0.7262 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.3803, allocations: 11.92 kB / 0.7263 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.3804, allocations: 19.86 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.3805, allocations: 81.81 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3805, allocations: 0 / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.31e-07/0.3805, allocations: 0 / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.3805, allocations: 0 / 0.7263 GB, free: 10.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003587/0.3809, allocations: 359.3 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.3809, allocations: 16.02 kB / 0.7267 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.381, allocations: 4.844 kB / 0.7267 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.3811, allocations: 172.3 kB / 0.7269 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3811, allocations: 8.375 kB / 0.7269 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.3811, allocations: 4.375 kB / 0.7269 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3812, allocations: 57.98 kB / 0.7269 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-06/0.3812, allocations: 0 / 0.7269 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3812, allocations: 0 / 0.7269 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-06/0.3813, allocations: 0 / 0.7269 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.3813, allocations: 27.92 kB / 0.727 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.3817, allocations: 284.7 kB / 0.7272 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.3817, allocations: 30.56 kB / 0.7273 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.3818, allocations: 20.86 kB / 0.7273 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.3822, allocations: 0.5505 MB / 0.7278 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3822, allocations: 42.55 kB / 0.7279 GB, free: 8.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.3822, allocations: 3.984 kB / 0.7279 GB, free: 8.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002015/0.3824, allocations: 61.59 kB / 0.7279 GB, free: 8.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.3825, allocations: 51.41 kB / 0.728 GB, free: 8.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.3826, allocations: 125.8 kB / 0.7281 GB, free: 8.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.3826, allocations: 29.7 kB / 0.7281 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.3826, allocations: 88.14 kB / 0.7282 GB, free: 8.227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.3826, allocations: 8.031 kB / 0.7282 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.3827, allocations: 17.7 kB / 0.7282 GB, free: 8.195 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.3828, allocations: 318.8 kB / 0.7285 GB, free: 7.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.3828, allocations: 15.92 kB / 0.7286 GB, free: 7.859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.3829, allocations: 8 kB / 0.7286 GB, free: 7.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.044e-05/0.3829, allocations: 24.84 kB / 0.7286 GB, free: 7.824 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3829, allocations: 4.062 kB / 0.7286 GB, free: 7.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/0.3831, allocations: 53.69 kB / 0.7286 GB, free: 7.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3831, allocations: 5.875 kB / 0.7286 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.3831, allocations: 0 / 0.7286 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3831, allocations: 7.984 kB / 0.7287 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.62e-05/0.3832, allocations: 4 kB / 0.7287 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3832, allocations: 4 kB / 0.7287 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.3832, allocations: 7.844 kB / 0.7287 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.3832, allocations: 3.938 kB / 0.7287 GB, free: 7.73 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 (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.751e-05/0.3833, allocations: 129.7 kB / 0.7288 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.3833, allocations: 4 kB / 0.7288 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.3835, allocations: 61.2 kB / 0.7289 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3835, allocations: 0 / 0.7289 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3835, allocations: 0 / 0.7289 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.3835, allocations: 0 / 0.7289 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3836, allocations: 165.6 kB / 0.729 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3836, allocations: 0 / 0.729 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.3837, allocations: 8.031 kB / 0.729 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3837, allocations: 0 / 0.729 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.3837, allocations: 0 / 0.729 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3837, allocations: 4 kB / 0.729 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3837, allocations: 3.984 kB / 0.729 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.3839, allocations: 155.3 kB / 0.7292 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.3839, allocations: 81.11 kB / 0.7293 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3839, allocations: 4.031 kB / 0.7293 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.384, allocations: 3.984 kB / 0.7293 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.384, allocations: 4 kB / 0.7293 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.384, allocations: 0 / 0.7293 GB, free: 7.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.3841, allocations: 95.27 kB / 0.7294 GB, free: 6.926 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3841, allocations: 4 kB / 0.7294 GB, free: 6.922 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000205/0.3843, allocations: 11.94 kB / 0.7294 GB, free: 6.91 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 (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.0001099/0.3844, allocations: 103.2 kB / 0.7295 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3845, allocations: 27.92 kB / 0.7295 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3845, allocations: 3.938 kB / 0.7295 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.3846, allocations: 12 kB / 0.7295 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.3848, allocations: 4 kB / 0.7295 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.385, allocations: 152.4 kB / 0.7297 GB, free: 6.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.3853, allocations: 0.6809 MB / 0.7303 GB, free: 5.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.3853, allocations: 4 kB / 0.7303 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.3853, allocations: 7.438 kB / 0.7303 GB, free: 5.863 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3853, allocations: 0 / 0.7303 GB, free: 5.863 MB / 0.545 GB Notification: Performance of Templates: time 0.001997/0.3873, allocations: 457.4 kB / 0.7308 GB, free: 5.418 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)