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.001154/0.001154, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001258/0.001258, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.564/1.564, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.728/1.728, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001593/0.001593, allocations: 67.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2366, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003096/0.2397, allocations: 1.487 MB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2409, allocations: 0.6795 MB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.241, allocations: 0 / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.241, allocations: 3.938 kB / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.2411, allocations: 7.938 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.2415, allocations: 79.72 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.2416, allocations: 35.86 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2417, allocations: 16 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.2418, allocations: 19.92 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.2418, allocations: 23.84 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.2419, allocations: 4 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.242, allocations: 91.91 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.242, allocations: 4 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.2421, allocations: 31.78 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.2423, allocations: 76.06 kB / 0.7865 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2423, allocations: 4 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2423, allocations: 0 / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2423, allocations: 4 kB / 0.7865 GB, free: 1.289 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.0004729/0.2428, allocations: 363.3 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2428, allocations: 8.031 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.2429, allocations: 8.844 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.243, allocations: 168.3 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.243, allocations: 384 / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.243, allocations: 4.375 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2432, allocations: 61.92 kB / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2432, allocations: 7.984 kB / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2432, allocations: 0 / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2432, allocations: 0 / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.2433, allocations: 27.98 kB / 0.7871 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.2437, allocations: 280.7 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.918e-05/0.2438, allocations: 34.5 kB / 0.7874 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.2439, allocations: 24.91 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4731/0.717, allocations: 0.5523 MB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.7171, allocations: 31.44 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.185e-06/0.7171, allocations: 0 / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.7175, allocations: 64.52 kB / 0.7881 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.7175, allocations: 51.41 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.7176, allocations: 122.9 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.7177, allocations: 25.7 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.7177, allocations: 96.12 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.7177, allocations: 3.797 kB / 0.7884 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.7178, allocations: 16.2 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.7179, allocations: 319 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.7179, allocations: 8.547 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.7179, allocations: 11.7 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.656e-05/0.718, allocations: 26.78 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.718, allocations: 3.719 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.7182, allocations: 60.44 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7182, allocations: 6.984 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7182, allocations: 3.719 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7182, allocations: 0 / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.693e-05/0.7183, allocations: 12.33 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7183, allocations: 0 / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.7184, allocations: 5.688 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.7184, allocations: 0 / 0.7888 GB, free: 48.14 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.493e-05/0.7184, allocations: 118.4 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.7185, allocations: 2.781 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.7187, allocations: 64.19 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7187, allocations: 1.844 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7187, allocations: 1.875 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7187, allocations: 0 / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.7188, allocations: 172.4 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.7189, allocations: 1.219 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.7189, allocations: 5.781 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.7189, allocations: 0 / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.7189, allocations: 3.375 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7189, allocations: 3.781 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7189, allocations: 3.188 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.7191, allocations: 157.5 kB / 0.7894 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.7191, allocations: 80.2 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.7192, allocations: 0.5938 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.7192, allocations: 3.188 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.7193, allocations: 6.156 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7193, allocations: 2.844 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.7193, allocations: 94.89 kB / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7193, allocations: 5.375 kB / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002338/0.7196, allocations: 7.094 kB / 0.7895 GB, free: 47.5 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.0001785/0.7197, allocations: 107 kB / 0.7896 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.7199, allocations: 21.33 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7199, allocations: 3.875 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.72, allocations: 16.67 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.7202, allocations: 8.625 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.7205, allocations: 156 kB / 0.7898 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.7207, allocations: 0.6852 MB / 0.7905 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.7207, allocations: 8.25 kB / 0.7905 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7207, allocations: 1.25 kB / 0.7905 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.002408/0.7231, allocations: 0.7117 MB / 0.7912 GB, free: 46.57 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)