Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001362/0.001362, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00135/0.00135, allocations: 192.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 298.7 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 95.95 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1657, allocations: 89.16 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002862/0.1686, allocations: 1.555 MB / 0.6945 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1697, allocations: 0.6489 MB / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.1697, allocations: 1.062 kB / 0.6951 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.1697, allocations: 3.938 kB / 0.6951 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.1698, allocations: 7.984 kB / 0.6951 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1701, allocations: 69.12 kB / 0.6952 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1703, allocations: 31.92 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.1704, allocations: 19.8 kB / 0.6953 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.1704, allocations: 11.94 kB / 0.6953 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.1705, allocations: 23.86 kB / 0.6953 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1705, allocations: 4 kB / 0.6953 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1707, allocations: 103.8 kB / 0.6954 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.1708, allocations: 8 kB / 0.6954 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1708, allocations: 19.88 kB / 0.6954 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.171, allocations: 91.75 kB / 0.6955 GB, free: 2.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.171, allocations: 0 / 0.6955 GB, free: 2.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1711, allocations: 0 / 0.6955 GB, free: 2.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1711, allocations: 0 / 0.6955 GB, free: 2.09 MB / 494.1 MB 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.0004674/0.1715, allocations: 359.3 kB / 0.6958 GB, free: 1.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1716, allocations: 12.03 kB / 0.6959 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.1716, allocations: 0.9375 kB / 0.6959 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1718, allocations: 176.3 kB / 0.696 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1718, allocations: 4.375 kB / 0.696 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1718, allocations: 4.375 kB / 0.696 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.172, allocations: 54 kB / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.172, allocations: 0 / 0.6961 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.172, allocations: 7.875 kB / 0.6961 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.172, allocations: 4 kB / 0.6961 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.1721, allocations: 23.98 kB / 0.6961 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.1725, allocations: 288.7 kB / 0.6964 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/0.1726, allocations: 26.52 kB / 0.6964 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.1727, allocations: 20.91 kB / 0.6964 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.1732, allocations: 0.5584 MB / 0.697 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.771e-05/0.1733, allocations: 38.56 kB / 0.697 GB, free: 248 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.1733, allocations: 0 / 0.697 GB, free: 248 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002353/0.1736, allocations: 61.67 kB / 0.6971 GB, free: 180 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1736, allocations: 51.41 kB / 0.6971 GB, free: 116 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1737, allocations: 121.8 kB / 0.6973 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1738, allocations: 25.7 kB / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1738, allocations: 92.05 kB / 0.6974 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.1739, allocations: 12.06 kB / 0.6974 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.1739, allocations: 13.7 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.174, allocations: 326.7 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.1741, allocations: 4 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.1741, allocations: 15.98 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.1742, allocations: 24.84 kB / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1742, allocations: 64 / 0.6977 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000132/0.1744, allocations: 57.59 kB / 0.6978 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1744, allocations: 9.719 kB / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1744, allocations: 0 / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1744, allocations: 0 / 0.6978 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.887e-05/0.1745, allocations: 11.92 kB / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1746, allocations: 4 kB / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.709e-05/0.1746, allocations: 4 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1746, allocations: 0 / 0.6978 GB, free: 15.36 MB / 0.4981 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 9.925e-05/0.1747, allocations: 118.5 kB / 0.6979 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.1748, allocations: 11.89 kB / 0.6979 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1749, allocations: 61.2 kB / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1749, allocations: 0 / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.175, allocations: 7.922 kB / 0.698 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.175, allocations: 0 / 0.698 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.1752, allocations: 165.6 kB / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1752, allocations: 0 / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-05/0.1752, allocations: 12.03 kB / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1752, allocations: 0 / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1752, allocations: 0 / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1752, allocations: 3.938 kB / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1752, allocations: 0 / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1754, allocations: 155.5 kB / 0.6983 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.1755, allocations: 81.02 kB / 0.6984 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1755, allocations: 4.031 kB / 0.6984 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.1756, allocations: 7.984 kB / 0.6984 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1756, allocations: 4 kB / 0.6984 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1756, allocations: 0 / 0.6984 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.1757, allocations: 99.64 kB / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1757, allocations: 0 / 0.6985 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002332/0.176, allocations: 11.94 kB / 0.6985 GB, free: 14.54 MB / 0.4981 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.0001682/0.1761, allocations: 103.2 kB / 0.6986 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1763, allocations: 35.91 kB / 0.6987 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1763, allocations: 0 / 0.6987 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/0.1764, allocations: 12 kB / 0.6987 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1766, allocations: 5.969 kB / 0.6987 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.1769, allocations: 138.8 kB / 0.6988 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1773, allocations: 0.6884 MB / 0.6995 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1774, allocations: 0 / 0.6995 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.1774, allocations: 11.44 kB / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1774, allocations: 0 / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.003116/0.1805, allocations: 468.6 kB / 0.6999 GB, free: 13.03 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)