Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009471/0.0009473, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.29/1.29, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8841/0.8841, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 8 kB / 0.5083 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 82.32 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006722/0.139, allocations: 307 kB / 0.5889 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1406, allocations: 1.234 MB / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-06/0.1406, allocations: 0 / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.1407, allocations: 0 / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.839e-06/0.1407, allocations: 0 / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.141, allocations: 43.89 kB / 0.5902 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.282e-05/0.141, allocations: 0 / 0.5902 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.1411, allocations: 3.984 kB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.1411, allocations: 4 kB / 0.5902 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.1411, allocations: 0 / 0.5902 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.737e-06/0.1411, allocations: 0 / 0.5902 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.1414, allocations: 99.89 kB / 0.5903 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1414, allocations: 0 / 0.5903 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.1414, allocations: 25.7 kB / 0.5903 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.815e-05/0.1415, allocations: 35.95 kB / 0.5903 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1415, allocations: 4 kB / 0.5903 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1415, allocations: 0 / 0.5903 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1415, allocations: 0 / 0.5903 GB, free: 0.8477 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.0002706/0.1418, allocations: 325.8 kB / 0.5907 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1419, allocations: 8.031 kB / 0.5907 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.1419, allocations: 12.86 kB / 0.5907 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/0.142, allocations: 164.4 kB / 0.5908 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.142, allocations: 384 / 0.5908 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.142, allocations: 384 / 0.5908 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.26e-05/0.1421, allocations: 34.02 kB / 0.5909 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1421, allocations: 0 / 0.5909 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1421, allocations: 7.938 kB / 0.5909 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1421, allocations: 0 / 0.5909 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.1422, allocations: 4 kB / 0.5909 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.1423, allocations: 145.7 kB / 0.591 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.1423, allocations: 22.55 kB / 0.591 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.1424, allocations: 8.844 kB / 0.591 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/0.1429, allocations: 0.5623 MB / 0.5916 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1429, allocations: 34.5 kB / 0.5916 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1429, allocations: 4 kB / 0.5916 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001232/0.1431, allocations: 33.69 kB / 0.5917 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1431, allocations: 55.34 kB / 0.5917 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.239e-05/0.1431, allocations: 97.98 kB / 0.5918 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1432, allocations: 25.7 kB / 0.5918 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.1432, allocations: 80.14 kB / 0.5919 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1432, allocations: 3.906 kB / 0.5919 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.1432, allocations: 13.72 kB / 0.5919 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.1433, allocations: 310.8 kB / 0.5922 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.1434, allocations: 0 / 0.5922 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-06/0.1434, allocations: 0 / 0.5922 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.1434, allocations: 16.91 kB / 0.5922 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1434, allocations: 0 / 0.5922 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.924e-05/0.1435, allocations: 37.64 kB / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1435, allocations: 11.94 kB / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1435, allocations: 0 / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1435, allocations: 0 / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.895e-05/0.1436, allocations: 0 / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1436, allocations: 0 / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.1436, allocations: 8 kB / 0.5923 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1436, allocations: 0 / 0.5923 GB, free: 14.5 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 (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 6.137e-05/0.1437, allocations: 113.9 kB / 0.5924 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.1437, allocations: 7.875 kB / 0.5924 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.1438, allocations: 40.83 kB / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1438, allocations: 0 / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1438, allocations: 0 / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1438, allocations: 0 / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.875e-05/0.1439, allocations: 145.7 kB / 0.5926 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1439, allocations: 4.031 kB / 0.5926 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.1439, allocations: 7.938 kB / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1439, allocations: 3.938 kB / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.1439, allocations: 0 / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1439, allocations: 0 / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1439, allocations: 0 / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.66e-05/0.144, allocations: 65.06 kB / 0.5927 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.1441, allocations: 77.11 kB / 0.5927 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1441, allocations: 7.969 kB / 0.5927 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.1441, allocations: 0 / 0.5927 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.1441, allocations: 0 / 0.5927 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1441, allocations: 4 kB / 0.5928 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.1442, allocations: 75.28 kB / 0.5928 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1442, allocations: 0 / 0.5928 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001816/0.1444, allocations: 4 kB / 0.5928 GB, free: 13.85 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 (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.0001573/0.1445, allocations: 103.2 kB / 0.5929 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.756e-05/0.1446, allocations: 11.94 kB / 0.5929 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1446, allocations: 0 / 0.5929 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.1446, allocations: 4 kB / 0.5929 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1448, allocations: 4.281 kB / 0.5929 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001744/0.1449, allocations: 104.4 kB / 0.593 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1452, allocations: 0.6731 MB / 0.5937 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.1452, allocations: 7.438 kB / 0.5937 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1452, allocations: 0 / 0.5937 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.001696/0.1469, allocations: 423.3 kB / 0.5941 GB, free: 12.47 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)