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.0008839/0.0008839, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009539/0.0009539, allocations: 200.2 kB / 16.26 MB, free: 6.617 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.213/1.213, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.295/1.295, allocations: 251.6 MB / 0.5089 GB, free: 3.293 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.001223/0.001223, allocations: 68.23 kB / 0.6217 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3914, allocations: 104.7 MB / 0.724 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002457/0.3939, allocations: 1.568 MB / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.3948, allocations: 0.6831 MB / 0.7262 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.622e-05/0.3948, allocations: 0 / 0.7262 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.3949, allocations: 3.938 kB / 0.7262 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.3949, allocations: 3.938 kB / 0.7262 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3952, allocations: 67.88 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.638e-05/0.3953, allocations: 27.92 kB / 0.7263 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.884e-05/0.3953, allocations: 16 kB / 0.7263 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.3954, allocations: 19.91 kB / 0.7263 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.546e-05/0.3955, allocations: 27.86 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.3955, allocations: 3.938 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3956, allocations: 99.89 kB / 0.7264 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.3956, allocations: 8 kB / 0.7264 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.3957, allocations: 15.88 kB / 0.7265 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3958, allocations: 77.8 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3958, allocations: 4 kB / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3958, allocations: 0 / 0.7265 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3958, allocations: 0 / 0.7265 GB, free: 10.55 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.0003657/0.3962, allocations: 363.3 kB / 0.7269 GB, free: 10.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.3962, allocations: 8.031 kB / 0.7269 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.3963, allocations: 8.844 kB / 0.7269 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3964, allocations: 164.3 kB / 0.7271 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.3964, allocations: 4.375 kB / 0.7271 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3964, allocations: 4.375 kB / 0.7271 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3966, allocations: 69.91 kB / 0.7271 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.3966, allocations: 0 / 0.7271 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3966, allocations: 4 kB / 0.7271 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3966, allocations: 0 / 0.7271 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.3967, allocations: 27.97 kB / 0.7272 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.397, allocations: 276.7 kB / 0.7274 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.3971, allocations: 42.5 kB / 0.7275 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.3971, allocations: 12.92 kB / 0.7275 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/0.3975, allocations: 0.5583 MB / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.3975, allocations: 30.56 kB / 0.728 GB, free: 8.707 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3975, allocations: 0 / 0.728 GB, free: 8.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002001/0.3978, allocations: 73.58 kB / 0.7281 GB, free: 8.629 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.3978, allocations: 55.34 kB / 0.7282 GB, free: 8.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.3979, allocations: 117.8 kB / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3979, allocations: 25.7 kB / 0.7283 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.3979, allocations: 88.14 kB / 0.7284 GB, free: 8.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.398, allocations: 11.89 kB / 0.7284 GB, free: 8.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.398, allocations: 13.72 kB / 0.7284 GB, free: 8.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.3981, allocations: 322.9 kB / 0.7287 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.3981, allocations: 11.92 kB / 0.7287 GB, free: 7.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.3982, allocations: 8 kB / 0.7287 GB, free: 7.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.3982, allocations: 28.84 kB / 0.7288 GB, free: 7.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3982, allocations: 0 / 0.7288 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.3983, allocations: 53.67 kB / 0.7288 GB, free: 7.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3984, allocations: 12.09 kB / 0.7288 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/0.3984, allocations: 3.938 kB / 0.7288 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3984, allocations: 0 / 0.7288 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.3984, allocations: 4 kB / 0.7288 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3984, allocations: 0 / 0.7288 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.3985, allocations: 11.84 kB / 0.7289 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3985, allocations: 3.984 kB / 0.7289 GB, free: 7.816 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.407e-05/0.3986, allocations: 113.8 kB / 0.729 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.3986, allocations: 4 kB / 0.729 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.3987, allocations: 61.2 kB / 0.729 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3987, allocations: 0 / 0.729 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3988, allocations: 4 kB / 0.729 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.3988, allocations: 0 / 0.729 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.3989, allocations: 173.6 kB / 0.7292 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3989, allocations: 3.938 kB / 0.7292 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.399, allocations: 7.938 kB / 0.7292 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.399, allocations: 0 / 0.7292 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.399, allocations: 3.984 kB / 0.7292 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.399, allocations: 4.031 kB / 0.7292 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.399, allocations: 0 / 0.7292 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.3991, allocations: 155.4 kB / 0.7294 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.3992, allocations: 77.11 kB / 0.7294 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3992, allocations: 3.984 kB / 0.7294 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.3992, allocations: 4 kB / 0.7294 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.3993, allocations: 8.016 kB / 0.7295 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3993, allocations: 0 / 0.7295 GB, free: 7.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.3993, allocations: 103.6 kB / 0.7296 GB, free: 7.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3993, allocations: 0 / 0.7296 GB, free: 7.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000207/0.3996, allocations: 15.94 kB / 0.7296 GB, free: 6.988 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.0001199/0.3997, allocations: 103.2 kB / 0.7297 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.3998, allocations: 27.92 kB / 0.7297 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.3998, allocations: 4.062 kB / 0.7297 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.3999, allocations: 12 kB / 0.7297 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.4001, allocations: 0 / 0.7297 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.4003, allocations: 158.6 kB / 0.7299 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.4005, allocations: 0.6885 MB / 0.7305 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.4006, allocations: 0 / 0.7305 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.4006, allocations: 15.38 kB / 0.7305 GB, free: 5.926 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.4006, allocations: 0 / 0.7305 GB, free: 5.926 MB / 0.545 GB Notification: Performance of Templates: time 0.002/0.4026, allocations: 464.7 kB / 0.731 GB, free: 5.473 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)