Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001138/0.001138, allocations: 101.6 kB / 16.35 MB, free: 5.879 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.001295/0.001295, allocations: 195.1 kB / 17.29 MB, free: 5.516 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.389/1.389, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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.001314/0.001314, allocations: 75.03 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2259, allocations: 114.5 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002731/0.2287, allocations: 1.493 MB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2297, allocations: 0.6756 MB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.2298, allocations: 4 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.2298, allocations: 11.92 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.2299, allocations: 3.938 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.2302, allocations: 79.72 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.257e-05/0.2303, allocations: 43.8 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.2304, allocations: 12 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.2304, allocations: 15.92 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.2305, allocations: 19.92 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2305, allocations: 4 kB / 0.7871 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2307, allocations: 95.89 kB / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2307, allocations: 4 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.2307, allocations: 15.88 kB / 0.7872 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.2309, allocations: 95.69 kB / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2309, allocations: 0 / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2309, allocations: 0 / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2309, allocations: 0 / 0.7873 GB, free: 0.6133 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.0003909/0.2313, allocations: 363.4 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2314, allocations: 8.031 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.2314, allocations: 8.844 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3587/0.5901, allocations: 168.2 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.5901, allocations: 2.781 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.5902, allocations: 4.594 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.5904, allocations: 51.69 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5904, allocations: 0.6562 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5905, allocations: 0 / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5905, allocations: 1.625 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.5906, allocations: 35.2 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.5909, allocations: 273.9 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.591, allocations: 41.7 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.5911, allocations: 14.83 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.5914, allocations: 0.5583 MB / 0.7887 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.5915, allocations: 33.25 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.5915, allocations: 3.375 kB / 0.7888 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002428/0.5917, allocations: 65.52 kB / 0.7888 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.5918, allocations: 52.25 kB / 0.7889 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.5918, allocations: 121 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.5919, allocations: 27.67 kB / 0.789 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.5919, allocations: 100.6 kB / 0.7891 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.5919, allocations: 1.875 kB / 0.7891 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.5919, allocations: 12.41 kB / 0.7891 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.592, allocations: 321.4 kB / 0.7894 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.036e-05/0.5921, allocations: 12.08 kB / 0.7895 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.179e-05/0.5921, allocations: 8 kB / 0.7895 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.5922, allocations: 32.34 kB / 0.7895 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5922, allocations: 0 / 0.7895 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.98e-05/0.5923, allocations: 61.92 kB / 0.7896 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5923, allocations: 5.531 kB / 0.7896 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5923, allocations: 2.656 kB / 0.7896 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5923, allocations: 1.938 kB / 0.7896 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.5924, allocations: 6.234 kB / 0.7896 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5924, allocations: 2.688 kB / 0.7896 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.5925, allocations: 0 / 0.7896 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.5925, allocations: 2.719 kB / 0.7896 GB, free: 47.1 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 4.99e-05/0.5925, allocations: 122.2 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.5926, allocations: 3.906 kB / 0.7897 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.5927, allocations: 64.55 kB / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5927, allocations: 0 / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5927, allocations: 3.25 kB / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5927, allocations: 0 / 0.7898 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.5929, allocations: 173.7 kB / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5929, allocations: 0 / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.5929, allocations: 5.406 kB / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5929, allocations: 0 / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5929, allocations: 4.375 kB / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.593, allocations: 10.59 kB / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.593, allocations: 1.125 kB / 0.7899 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.5931, allocations: 147.9 kB / 0.7901 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.5931, allocations: 84.3 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.5931, allocations: 4.312 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.5932, allocations: 0 / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5933, allocations: 2.906 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5933, allocations: 5.391 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.5933, allocations: 98.38 kB / 0.7903 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.11e-07/0.5933, allocations: 0 / 0.7903 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000235/0.5936, allocations: 12.47 kB / 0.7903 GB, free: 46.45 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.0001553/0.5937, allocations: 107.4 kB / 0.7904 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.5939, allocations: 25.66 kB / 0.7904 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5939, allocations: 0 / 0.7904 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.5939, allocations: 14.7 kB / 0.7904 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.5941, allocations: 9.938 kB / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.5944, allocations: 126.5 kB / 0.7906 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.5946, allocations: 0.6839 MB / 0.7912 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.5946, allocations: 5.609 kB / 0.7912 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.5946, allocations: 10.06 kB / 0.7912 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.5946, allocations: 1.156 kB / 0.7912 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.002629/0.5973, allocations: 485.7 kB / 0.7917 GB, free: 45.56 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)