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.001301/0.001301, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001348/0.001348, allocations: 190.4 kB / 16.91 MB, free: 6.188 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.192/1.192, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001921/0.001921, allocations: 290.4 kB / 291 MB, free: 14.71 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8592/0.8592, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 97.2 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1491, allocations: 86.97 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002459/0.1516, allocations: 1.547 MB / 0.6818 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.1525, allocations: 0.6482 MB / 0.6824 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.1526, allocations: 0 / 0.6824 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.1526, allocations: 0 / 0.6824 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.1527, allocations: 11.91 kB / 0.6824 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.153, allocations: 67.83 kB / 0.6825 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.301e-05/0.1531, allocations: 39.92 kB / 0.6825 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1532, allocations: 24.08 kB / 0.6825 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.1533, allocations: 15.98 kB / 0.6826 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.798e-05/0.1533, allocations: 19.86 kB / 0.6826 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1534, allocations: 4 kB / 0.6826 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.1535, allocations: 99.88 kB / 0.6827 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1536, allocations: 8 kB / 0.6827 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.1536, allocations: 19.88 kB / 0.6827 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1537, allocations: 59.91 kB / 0.6828 GB, free: 5.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1538, allocations: 0 / 0.6828 GB, free: 5.992 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1538, allocations: 0 / 0.6828 GB, free: 5.992 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1538, allocations: 0 / 0.6828 GB, free: 5.992 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.0004525/0.1542, allocations: 363.3 kB / 0.6831 GB, free: 5.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1543, allocations: 12.03 kB / 0.6831 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.1543, allocations: 4.844 kB / 0.6831 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1545, allocations: 168.3 kB / 0.6833 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1545, allocations: 4.375 kB / 0.6833 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1545, allocations: 8.375 kB / 0.6833 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1547, allocations: 53.98 kB / 0.6834 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1547, allocations: 0 / 0.6834 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1547, allocations: 4 kB / 0.6834 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1547, allocations: 4 kB / 0.6834 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.1548, allocations: 19.98 kB / 0.6834 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1551, allocations: 296.6 kB / 0.6837 GB, free: 4.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.55e-05/0.1552, allocations: 30.56 kB / 0.6837 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.1553, allocations: 20.91 kB / 0.6837 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.1557, allocations: 0.5544 MB / 0.6843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1558, allocations: 42.44 kB / 0.6843 GB, free: 4.137 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1558, allocations: 0 / 0.6843 GB, free: 4.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002259/0.156, allocations: 65.67 kB / 0.6844 GB, free: 4.066 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.156, allocations: 51.41 kB / 0.6844 GB, free: 4.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.1561, allocations: 117.8 kB / 0.6845 GB, free: 3.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1562, allocations: 25.7 kB / 0.6845 GB, free: 3.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1562, allocations: 92.12 kB / 0.6846 GB, free: 3.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1562, allocations: 12.03 kB / 0.6846 GB, free: 3.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.1563, allocations: 9.719 kB / 0.6846 GB, free: 3.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1564, allocations: 326.8 kB / 0.685 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.1564, allocations: 4 kB / 0.685 GB, free: 3.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.1565, allocations: 11.98 kB / 0.685 GB, free: 3.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.1566, allocations: 32.78 kB / 0.685 GB, free: 3.348 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1566, allocations: 0 / 0.685 GB, free: 3.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.1567, allocations: 57.66 kB / 0.6851 GB, free: 3.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1567, allocations: 10.03 kB / 0.6851 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1567, allocations: 3.938 kB / 0.6851 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.1567, allocations: 0 / 0.6851 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.1568, allocations: 7.984 kB / 0.6851 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1568, allocations: 0 / 0.6851 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.1568, allocations: 4 kB / 0.6851 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1569, allocations: 0 / 0.6851 GB, free: 3.262 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.064e-05/0.1569, allocations: 117.8 kB / 0.6852 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.157, allocations: 4 kB / 0.6852 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.1571, allocations: 61.14 kB / 0.6853 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1571, allocations: 0 / 0.6853 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1571, allocations: 0 / 0.6853 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1571, allocations: 4 kB / 0.6853 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1573, allocations: 169.5 kB / 0.6854 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1573, allocations: 4 kB / 0.6854 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.1573, allocations: 12.02 kB / 0.6854 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1573, allocations: 0 / 0.6854 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1574, allocations: 0 / 0.6854 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1574, allocations: 3.938 kB / 0.6854 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1574, allocations: 0 / 0.6854 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.1575, allocations: 159.4 kB / 0.6856 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.1576, allocations: 81.02 kB / 0.6857 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1576, allocations: 4.031 kB / 0.6857 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.1576, allocations: 4 kB / 0.6857 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.1577, allocations: 3.984 kB / 0.6857 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1577, allocations: 4 kB / 0.6857 GB, free: 2.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.797e-05/0.1577, allocations: 103.6 kB / 0.6858 GB, free: 2.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1577, allocations: 0 / 0.6858 GB, free: 2.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.158, allocations: 11.94 kB / 0.6858 GB, free: 2.43 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.000124/0.1581, allocations: 107.2 kB / 0.6859 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1582, allocations: 23.98 kB / 0.6859 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1582, allocations: 0 / 0.6859 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.1583, allocations: 19.92 kB / 0.6859 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1585, allocations: 11.92 kB / 0.686 GB, free: 2.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.1588, allocations: 164.6 kB / 0.6861 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.159, allocations: 0.6846 MB / 0.6868 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.159, allocations: 11.44 kB / 0.6868 GB, free: 1.348 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1591, allocations: 0 / 0.6868 GB, free: 1.348 MB / 494.1 MB Notification: Performance of Templates: time 0.001836/0.1609, allocations: 0.7175 MB / 0.6875 GB, free: 0.6328 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)