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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.591/1.591, allocations: 292.3 MB / 308.1 MB, free: 4.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 194 kB / 376.9 MB, free: 1.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009028/0.0009029, allocations: 93.38 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001014, allocations: 59.89 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1957, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002736/0.1985, allocations: 1.563 MB / 0.9837 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1996, allocations: 0.6835 MB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.1996, allocations: 0 / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.1997, allocations: 8 kB / 0.9844 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.1997, allocations: 3.938 kB / 0.9844 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2, allocations: 55.88 kB / 0.9845 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.2001, allocations: 39.8 kB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.2002, allocations: 11.98 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.2002, allocations: 19.92 kB / 0.9845 GB, free: 8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.2003, allocations: 19.92 kB / 0.9846 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2003, allocations: 4 kB / 0.9846 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2005, allocations: 91.89 kB / 0.9847 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.2005, allocations: 7.938 kB / 0.9847 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.2005, allocations: 19.88 kB / 0.9847 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2007, allocations: 80.05 kB / 0.9848 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2007, allocations: 0 / 0.9848 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.2007, allocations: 0 / 0.9848 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.2007, allocations: 0 / 0.9848 GB, free: 7.781 MB / 0.7136 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.0004088/0.2011, allocations: 371.3 kB / 0.9851 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2012, allocations: 8.031 kB / 0.9851 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.2012, allocations: 4.938 kB / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2013, allocations: 172.2 kB / 0.9853 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.2013, allocations: 4.375 kB / 0.9853 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.2013, allocations: 384 / 0.9853 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.2015, allocations: 61.97 kB / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2015, allocations: 0 / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2015, allocations: 4 kB / 0.9854 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2015, allocations: 4 kB / 0.9854 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.2016, allocations: 27.98 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.2019, allocations: 276.7 kB / 0.9856 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.707e-05/0.202, allocations: 34.56 kB / 0.9857 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.823e-05/0.2021, allocations: 12.91 kB / 0.9857 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.2025, allocations: 0.5622 MB / 0.9862 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2025, allocations: 34.56 kB / 0.9863 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2026, allocations: 0 / 0.9863 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.2028, allocations: 69.52 kB / 0.9863 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2028, allocations: 51.41 kB / 0.9864 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.2029, allocations: 122 kB / 0.9865 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.203, allocations: 29.7 kB / 0.9865 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.203, allocations: 92.06 kB / 0.9866 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.2031, allocations: 7.906 kB / 0.9866 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.2031, allocations: 9.719 kB / 0.9866 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2032, allocations: 322.8 kB / 0.9869 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.2033, allocations: 7.984 kB / 0.987 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.2033, allocations: 16 kB / 0.987 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.241e-05/0.2034, allocations: 28.78 kB / 0.987 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2034, allocations: 0 / 0.987 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001209/0.2035, allocations: 53.67 kB / 0.987 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2036, allocations: 7.938 kB / 0.9871 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2036, allocations: 4 kB / 0.9871 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2036, allocations: 0 / 0.9871 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.2037, allocations: 4.094 kB / 0.9871 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2037, allocations: 4 kB / 0.9871 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.487e-05/0.2037, allocations: 7.984 kB / 0.9871 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2037, allocations: 4 kB / 0.9871 GB, free: 5.047 MB / 0.7136 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 7.218e-05/0.2038, allocations: 117.8 kB / 0.9872 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.2038, allocations: 7.906 kB / 0.9872 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.204, allocations: 65.14 kB / 0.9873 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.204, allocations: 0 / 0.9873 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.204, allocations: 4.031 kB / 0.9873 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.204, allocations: 0 / 0.9873 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2042, allocations: 169.6 kB / 0.9874 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2042, allocations: 3.984 kB / 0.9874 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.2042, allocations: 7.984 kB / 0.9874 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.2042, allocations: 4 kB / 0.9874 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.2043, allocations: 3.938 kB / 0.9874 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2043, allocations: 0 / 0.9874 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2043, allocations: 0 / 0.9874 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.2047, allocations: 0.7122 MB / 0.9881 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.2047, allocations: 81.02 kB / 0.9882 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2047, allocations: 3.938 kB / 0.9882 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.2048, allocations: 8 kB / 0.9882 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.2048, allocations: 3.984 kB / 0.9882 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2048, allocations: 4.031 kB / 0.9882 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.2049, allocations: 99.64 kB / 0.9883 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2049, allocations: 0 / 0.9883 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003206/0.2052, allocations: 8 kB / 0.9883 GB, free: 3.609 MB / 0.7136 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.0001318/0.2054, allocations: 107.2 kB / 0.9884 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.2055, allocations: 23.98 kB / 0.9885 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2055, allocations: 0 / 0.9885 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.282e-05/0.2055, allocations: 20.05 kB / 0.9885 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.2057, allocations: 4 kB / 0.9885 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.2061, allocations: 247 kB / 0.9887 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2064, allocations: 0.6809 MB / 0.9894 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.2064, allocations: 12 kB / 0.9894 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.2064, allocations: 7.438 kB / 0.9894 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of SimCode: time 1.91e-07/0.2064, allocations: 0 / 0.9894 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of Templates: time 0.002168/0.2086, allocations: 467.3 kB / 0.9899 GB, free: 1.988 MB / 0.7136 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)