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.004778/0.004778, allocations: 97.02 kB / 15.73 MB, free: 6.055 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.001281/0.001281, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.265/1.265, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.384/1.384, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.00132/0.00132, allocations: 63.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1913, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002284/0.1936, allocations: 1.505 MB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.1946, allocations: 0.6754 MB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.1947, allocations: 4 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.1947, allocations: 7.922 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.1948, allocations: 7.922 kB / 0.8302 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1951, allocations: 79.73 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.1952, allocations: 31.92 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.1953, allocations: 15.94 kB / 0.8303 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.1953, allocations: 23.91 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.1954, allocations: 27.8 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1954, allocations: 0 / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1956, allocations: 95.89 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.1956, allocations: 8 kB / 0.8305 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1956, allocations: 15.88 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1958, allocations: 79.77 kB / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1958, allocations: 0 / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1958, allocations: 0 / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.1958, allocations: 0 / 0.8306 GB, free: 13.61 MB / 0.6544 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.0004022/0.1962, allocations: 363.2 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1963, allocations: 8.031 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.1963, allocations: 8.891 kB / 0.8309 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1964, allocations: 172.3 kB / 0.8311 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1964, allocations: 8.312 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.1964, allocations: 384 / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1966, allocations: 65.92 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1966, allocations: 0 / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1966, allocations: 0 / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1966, allocations: 4 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.573e-05/0.1967, allocations: 27.97 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.1971, allocations: 276.8 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.1971, allocations: 34.5 kB / 0.8315 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.1972, allocations: 16.86 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/0.1976, allocations: 0.5622 MB / 0.832 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1977, allocations: 30.56 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1977, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.1979, allocations: 69.61 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1979, allocations: 51.41 kB / 0.8322 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.198, allocations: 122 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.198, allocations: 25.7 kB / 0.8323 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1981, allocations: 96.12 kB / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.1981, allocations: 3.953 kB / 0.8324 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1982, allocations: 13.72 kB / 0.8324 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1983, allocations: 318.8 kB / 0.8327 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.1983, allocations: 7.984 kB / 0.8328 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.1984, allocations: 16 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.1984, allocations: 24.84 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1985, allocations: 0 / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001145/0.1986, allocations: 61.56 kB / 0.8328 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1986, allocations: 8 kB / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1986, allocations: 0 / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1986, allocations: 0 / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.078e-05/0.1987, allocations: 4.094 kB / 0.8329 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.1987, allocations: 4 kB / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.1987, allocations: 7.984 kB / 0.8329 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1987, allocations: 0 / 0.8329 GB, free: 10.89 MB / 0.6544 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.088e-05/0.1988, allocations: 125.7 kB / 0.833 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.1988, allocations: 3.953 kB / 0.833 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.199, allocations: 61.2 kB / 0.8331 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.199, allocations: 4 kB / 0.8331 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.199, allocations: 7.969 kB / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.199, allocations: 0 / 0.8331 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.1992, allocations: 165.6 kB / 0.8332 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1992, allocations: 0 / 0.8332 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.1992, allocations: 11.98 kB / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1992, allocations: 0 / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1992, allocations: 0 / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1992, allocations: 0 / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1992, allocations: 0 / 0.8332 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.1994, allocations: 159.4 kB / 0.8334 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.1995, allocations: 85.08 kB / 0.8335 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1995, allocations: 0 / 0.8335 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.1995, allocations: 4 kB / 0.8335 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.1996, allocations: 0 / 0.8335 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1996, allocations: 3.938 kB / 0.8335 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.1996, allocations: 103.6 kB / 0.8336 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.353e-06/0.1996, allocations: 0 / 0.8336 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002098/0.1998, allocations: 19.91 kB / 0.8336 GB, free: 10.05 MB / 0.6544 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.0001377/0.2, allocations: 103.2 kB / 0.8337 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2001, allocations: 23.98 kB / 0.8337 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2001, allocations: 0 / 0.8337 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.2002, allocations: 12 kB / 0.8337 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.2004, allocations: 7.984 kB / 0.8337 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.2006, allocations: 150.6 kB / 0.8339 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2009, allocations: 0.6844 MB / 0.8345 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.2009, allocations: 3.984 kB / 0.8345 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.2009, allocations: 11.44 kB / 0.8346 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of SimCode: time 1.543e-06/0.2009, allocations: 0 / 0.8346 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of Templates: time 0.002254/0.2032, allocations: 0.4927 MB / 0.835 GB, free: 8.504 MB / 0.6544 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)