Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 103.4 kB / 16.36 MB, free: 6.289 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.0009506/0.0009506, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 289.6 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8822/0.8822, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 99.33 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1468, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001549/0.1484, allocations: 0.5797 MB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1498, allocations: 1.256 MB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.1498, allocations: 0 / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.165e-05/0.1498, allocations: 0 / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.379e-06/0.1499, allocations: 0 / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1502, allocations: 70.75 kB / 0.6835 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.446e-05/0.1502, allocations: 3.984 kB / 0.6835 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.1503, allocations: 0 / 0.6835 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.13e-05/0.1503, allocations: 4 kB / 0.6835 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.1503, allocations: 8 kB / 0.6835 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.1503, allocations: 0 / 0.6835 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.1505, allocations: 107.8 kB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.1506, allocations: 3.938 kB / 0.6836 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.1506, allocations: 0 / 0.6836 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1507, allocations: 51.94 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1507, allocations: 0 / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1507, allocations: 0 / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1507, allocations: 0 / 0.6836 GB, free: 5.383 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002472/0.151, allocations: 331.6 kB / 0.6839 GB, free: 5.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.151, allocations: 8.031 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.151, allocations: 0.9375 kB / 0.684 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.784e-05/0.1511, allocations: 160.4 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.32e-06/0.1511, allocations: 384 / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.1511, allocations: 4.375 kB / 0.6841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.1512, allocations: 37.94 kB / 0.6842 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1512, allocations: 0 / 0.6842 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1512, allocations: 0 / 0.6842 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1512, allocations: 4 kB / 0.6842 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.788e-05/0.1513, allocations: 4 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.1514, allocations: 145.7 kB / 0.6843 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.777e-05/0.1514, allocations: 14.58 kB / 0.6843 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.1514, allocations: 12.94 kB / 0.6843 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004506/0.1519, allocations: 0.5622 MB / 0.6849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1519, allocations: 38.5 kB / 0.6849 GB, free: 3.785 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.355e-06/0.1519, allocations: 0 / 0.6849 GB, free: 3.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001036/0.152, allocations: 41.62 kB / 0.685 GB, free: 3.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.1521, allocations: 51.41 kB / 0.685 GB, free: 3.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.925e-05/0.1521, allocations: 89.86 kB / 0.6851 GB, free: 3.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.1521, allocations: 25.7 kB / 0.6851 GB, free: 3.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.1521, allocations: 80.27 kB / 0.6852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.1522, allocations: 7.938 kB / 0.6852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.1522, allocations: 13.72 kB / 0.6852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.1523, allocations: 314.8 kB / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.1523, allocations: 0 / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-06/0.1523, allocations: 3.938 kB / 0.6855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.1523, allocations: 12.84 kB / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1524, allocations: 0 / 0.6855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.656e-05/0.1524, allocations: 37.77 kB / 0.6856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.1524, allocations: 7.938 kB / 0.6856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1524, allocations: 4 kB / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1524, allocations: 0 / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.1525, allocations: 4 kB / 0.6856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.1525, allocations: 0 / 0.6856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-06/0.1525, allocations: 3.938 kB / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1525, allocations: 0 / 0.6856 GB, free: 3.039 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 (1): * Single equations (assignments): 1 * 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 5.865e-05/0.1526, allocations: 109.8 kB / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.1526, allocations: 11.95 kB / 0.6857 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.159e-05/0.1527, allocations: 40.77 kB / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1527, allocations: 0 / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1527, allocations: 0 / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1527, allocations: 0 / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.234e-05/0.1528, allocations: 149.7 kB / 0.6859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1528, allocations: 4 kB / 0.6859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.1528, allocations: 0 / 0.6859 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1528, allocations: 7.953 kB / 0.6859 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.1528, allocations: 4 kB / 0.6859 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1528, allocations: 0 / 0.6859 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1528, allocations: 4 kB / 0.6859 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.453e-05/0.1529, allocations: 60.97 kB / 0.686 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.1529, allocations: 77.11 kB / 0.686 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.153, allocations: 3.938 kB / 0.686 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.153, allocations: 7.938 kB / 0.686 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.153, allocations: 4.031 kB / 0.686 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.153, allocations: 4 kB / 0.686 GB, free: 2.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.176e-05/0.153, allocations: 75.28 kB / 0.6861 GB, free: 2.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.153, allocations: 0 / 0.6861 GB, free: 2.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001723/0.1532, allocations: 4 kB / 0.6861 GB, free: 2.379 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 (1): * Single equations (assignments): 1 * 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.0001249/0.1533, allocations: 111.2 kB / 0.6862 GB, free: 2.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.911e-05/0.1534, allocations: 4 kB / 0.6862 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1534, allocations: 4.062 kB / 0.6862 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-06/0.1534, allocations: 7.938 kB / 0.6862 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.1535, allocations: 2.344 kB / 0.6862 GB, free: 2.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001264/0.1537, allocations: 81.06 kB / 0.6863 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.1539, allocations: 0.669 MB / 0.687 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.473e-05/0.1539, allocations: 0 / 0.687 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.1539, allocations: 7.438 kB / 0.687 GB, free: 1.434 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1539, allocations: 4.062 kB / 0.687 GB, free: 1.43 MB / 494.1 MB Notification: Performance of Templates: time 0.001696/0.1556, allocations: 308.3 kB / 0.6873 GB, free: 1.133 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)