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.00109/0.001091, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001236/0.001236, allocations: 194.2 kB / 17.3 MB, free: 5.484 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002037/0.002037, allocations: 279.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8874/0.8874, allocations: 169.3 MB / 0.4989 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 97.73 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1523, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002666/0.155, allocations: 1.49 MB / 0.683 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000989/0.156, allocations: 0.6559 MB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.1561, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.1562, allocations: 7.922 kB / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.1562, allocations: 11.88 kB / 0.6837 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1565, allocations: 79.73 kB / 0.6838 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.1566, allocations: 31.92 kB / 0.6838 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.1567, allocations: 15.92 kB / 0.6838 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.1568, allocations: 23.86 kB / 0.6839 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.991e-05/0.1568, allocations: 19.86 kB / 0.6839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1569, allocations: 4 kB / 0.6839 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.157, allocations: 103.9 kB / 0.684 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1571, allocations: 7.984 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1571, allocations: 19.88 kB / 0.684 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1573, allocations: 79.83 kB / 0.6841 GB, free: 4.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1573, allocations: 4 kB / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1573, allocations: 0 / 0.6841 GB, free: 4.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1573, allocations: 0 / 0.6841 GB, free: 4.871 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.0003859/0.1577, allocations: 355.4 kB / 0.6844 GB, free: 4.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1577, allocations: 12.03 kB / 0.6844 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.1578, allocations: 4.844 kB / 0.6844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1579, allocations: 176.3 kB / 0.6846 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1579, allocations: 4.375 kB / 0.6846 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1579, allocations: 8.312 kB / 0.6846 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1581, allocations: 57.98 kB / 0.6847 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1581, allocations: 0 / 0.6847 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1581, allocations: 0 / 0.6847 GB, free: 4.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1581, allocations: 4 kB / 0.6847 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.351e-05/0.1582, allocations: 19.98 kB / 0.6847 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.1585, allocations: 288.6 kB / 0.685 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.482e-05/0.1586, allocations: 30.56 kB / 0.685 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.1587, allocations: 16.92 kB / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.1591, allocations: 0.5583 MB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1592, allocations: 34.56 kB / 0.6856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.1592, allocations: 0 / 0.6856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002327/0.1594, allocations: 73.52 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.1594, allocations: 51.41 kB / 0.6857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.1595, allocations: 121.8 kB / 0.6858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.1596, allocations: 25.7 kB / 0.6859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.1596, allocations: 92.25 kB / 0.6859 GB, free: 2.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.1596, allocations: 11.91 kB / 0.686 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.1597, allocations: 9.719 kB / 0.686 GB, free: 2.609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1598, allocations: 326.8 kB / 0.6863 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.1598, allocations: 4 kB / 0.6863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.1598, allocations: 15.98 kB / 0.6863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.064e-05/0.1599, allocations: 24.91 kB / 0.6863 GB, free: 2.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1599, allocations: 7.938 kB / 0.6863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.1601, allocations: 57.53 kB / 0.6864 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1601, allocations: 4 kB / 0.6864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1601, allocations: 4 kB / 0.6864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1601, allocations: 0 / 0.6864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1602, allocations: 4 kB / 0.6864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1602, allocations: 3.984 kB / 0.6864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.1602, allocations: 0 / 0.6864 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.1602, allocations: 7.969 kB / 0.6864 GB, free: 2.141 MB / 494.1 MB 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.079e-05/0.1603, allocations: 117.8 kB / 0.6865 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1603, allocations: 4 kB / 0.6865 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.1605, allocations: 65.12 kB / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1605, allocations: 0 / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1605, allocations: 0 / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1605, allocations: 0 / 0.6866 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1607, allocations: 177.6 kB / 0.6867 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1607, allocations: 4.031 kB / 0.6868 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.1607, allocations: 11.98 kB / 0.6868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1607, allocations: 0 / 0.6868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1607, allocations: 4 kB / 0.6868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1608, allocations: 0 / 0.6868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1608, allocations: 0 / 0.6868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.1609, allocations: 155.5 kB / 0.6869 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-05/0.161, allocations: 85.05 kB / 0.687 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.161, allocations: 0 / 0.687 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.161, allocations: 4 kB / 0.687 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.1611, allocations: 0 / 0.687 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.1611, allocations: 0 / 0.687 GB, free: 1.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.687e-05/0.1611, allocations: 103.2 kB / 0.6871 GB, free: 1.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1612, allocations: 0 / 0.6871 GB, free: 1.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1614, allocations: 15.92 kB / 0.6871 GB, free: 1.309 MB / 494.1 MB 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.0001235/0.1615, allocations: 107.2 kB / 0.6872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1616, allocations: 23.98 kB / 0.6872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1616, allocations: 0 / 0.6872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.65e-05/0.1617, allocations: 15.98 kB / 0.6873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.1619, allocations: 6.281 kB / 0.6873 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.1622, allocations: 138.7 kB / 0.6874 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1624, allocations: 0.6808 MB / 0.6881 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.428e-05/0.1624, allocations: 7.984 kB / 0.6881 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.1625, allocations: 7.438 kB / 0.6881 GB, free: 276 kB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1625, allocations: 11.88 kB / 0.6881 GB, free: 264 kB / 494.1 MB Notification: Performance of Templates: time 0.2263/0.3888, allocations: 477.1 kB / 0.6885 GB, free: 17.8 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)