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.004699/0.004699, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001125/0.001125, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.254/1.254, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.358/1.358, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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: 67.91 kB / 0.7258 GB, free: 8.914 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1885, allocations: 104.7 MB / 0.8281 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001497/0.19, allocations: 0.5865 MB / 0.8287 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1914, allocations: 1.288 MB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.1914, allocations: 3.938 kB / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.1914, allocations: 0 / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.1914, allocations: 0 / 0.8299 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1918, allocations: 63.81 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.775e-05/0.1918, allocations: 4 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.1919, allocations: 0 / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.274e-05/0.1919, allocations: 4 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.192, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.192, allocations: 0 / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1922, allocations: 99.83 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1922, allocations: 7.938 kB / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.1922, allocations: 0 / 0.8301 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1923, allocations: 47.94 kB / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1923, allocations: 0 / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1923, allocations: 0 / 0.8301 GB, free: 14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1923, allocations: 4 kB / 0.8301 GB, free: 14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002641/0.1926, allocations: 323.6 kB / 0.8304 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1926, allocations: 8.031 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1927, allocations: 0.9375 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.1928, allocations: 164.4 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1928, allocations: 384 / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1928, allocations: 4.375 kB / 0.8306 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.1929, allocations: 38 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1929, allocations: 3.938 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.1929, allocations: 4 kB / 0.8307 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1929, allocations: 3.938 kB / 0.8307 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.1929, allocations: 0 / 0.8307 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.1931, allocations: 145.6 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.366e-05/0.1931, allocations: 22.61 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.1931, allocations: 8.859 kB / 0.8308 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/0.1936, allocations: 0.5584 MB / 0.8314 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1936, allocations: 34.5 kB / 0.8314 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.1936, allocations: 0 / 0.8314 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.1937, allocations: 41.64 kB / 0.8314 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.1938, allocations: 55.53 kB / 0.8315 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.295e-05/0.1938, allocations: 93.8 kB / 0.8316 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.1938, allocations: 25.7 kB / 0.8316 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.1938, allocations: 80.14 kB / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1939, allocations: 11.91 kB / 0.8317 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.1939, allocations: 13.72 kB / 0.8317 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.194, allocations: 310.8 kB / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.194, allocations: 0 / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.455e-06/0.194, allocations: 12 kB / 0.832 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.194, allocations: 8.797 kB / 0.832 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.194, allocations: 0 / 0.832 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.333e-05/0.1941, allocations: 33.7 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1941, allocations: 11.92 kB / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.1941, allocations: 0 / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1941, allocations: 0 / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.704e-05/0.1942, allocations: 4 kB / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1942, allocations: 0 / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.1942, allocations: 4.094 kB / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1942, allocations: 0 / 0.8321 GB, free: 11.65 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 (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.24e-05/0.1943, allocations: 105.8 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.1943, allocations: 11.92 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.1944, allocations: 44.75 kB / 0.8322 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1944, allocations: 0 / 0.8322 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.1944, allocations: 0 / 0.8322 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1944, allocations: 4.031 kB / 0.8322 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.46e-05/0.1945, allocations: 145.7 kB / 0.8324 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1945, allocations: 0 / 0.8324 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.1945, allocations: 3.984 kB / 0.8324 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1945, allocations: 7.938 kB / 0.8324 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.1945, allocations: 0 / 0.8324 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.1945, allocations: 0 / 0.8324 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1945, allocations: 7.938 kB / 0.8324 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.346e-05/0.1946, allocations: 57.14 kB / 0.8325 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.1946, allocations: 77.11 kB / 0.8325 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1946, allocations: 15.86 kB / 0.8325 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-06/0.1946, allocations: 0 / 0.8325 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.1946, allocations: 0 / 0.8325 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1947, allocations: 3.938 kB / 0.8325 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.961e-05/0.1947, allocations: 75.28 kB / 0.8326 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1947, allocations: 0 / 0.8326 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001689/0.1949, allocations: 4 kB / 0.8326 GB, free: 10.99 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 (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.0001381/0.195, allocations: 111.3 kB / 0.8327 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.158e-05/0.1951, allocations: 7.984 kB / 0.8327 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1951, allocations: 0 / 0.8327 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.722e-06/0.1951, allocations: 4 kB / 0.8327 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.1952, allocations: 2.406 kB / 0.8327 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000148/0.1954, allocations: 84.92 kB / 0.8328 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.1955, allocations: 0.6766 MB / 0.8335 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.1956, allocations: 4.125 kB / 0.8335 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.1956, allocations: 7.438 kB / 0.8335 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.1956, allocations: 0 / 0.8335 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.001906/0.1975, allocations: 308.5 kB / 0.8338 GB, free: 9.73 MB / 0.6544 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)