Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001782, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7731/0.7731, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 403.4 MB, free: 7.082 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 100.9 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 60.16 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.13, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001891/0.1319, allocations: 0.6398 MB / 0.6408 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1337, allocations: 1.253 MB / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-06/0.1337, allocations: 0 / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.1337, allocations: 0 / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.1338, allocations: 0 / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1341, allocations: 43.88 kB / 0.6421 GB, free: 4.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.561e-05/0.1341, allocations: 0 / 0.6421 GB, free: 4.824 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.1342, allocations: 0 / 0.6421 GB, free: 4.824 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.1342, allocations: 8 kB / 0.6421 GB, free: 4.816 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.1343, allocations: 7.984 kB / 0.6421 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1343, allocations: 0 / 0.6421 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1345, allocations: 95.84 kB / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1345, allocations: 3.984 kB / 0.6422 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.1346, allocations: 4 kB / 0.6422 GB, free: 4.707 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1347, allocations: 47.94 kB / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1347, allocations: 0 / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1347, allocations: 3.938 kB / 0.6422 GB, free: 4.656 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1347, allocations: 0 / 0.6422 GB, free: 4.656 MB / 442.7 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.0003237/0.135, allocations: 327.6 kB / 0.6426 GB, free: 4.289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1351, allocations: 8.031 kB / 0.6426 GB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.1351, allocations: 4.844 kB / 0.6426 GB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.276e-05/0.1352, allocations: 160.4 kB / 0.6427 GB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1352, allocations: 8.312 kB / 0.6427 GB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1353, allocations: 384 / 0.6427 GB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.1354, allocations: 38.02 kB / 0.6428 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1354, allocations: 0 / 0.6428 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.1354, allocations: 3.938 kB / 0.6428 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1354, allocations: 3.984 kB / 0.6428 GB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.1354, allocations: 8 kB / 0.6428 GB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1356, allocations: 141.7 kB / 0.6429 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.1356, allocations: 18.61 kB / 0.6429 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.1356, allocations: 8.859 kB / 0.6429 GB, free: 3.789 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.1362, allocations: 0.5584 MB / 0.6435 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.1362, allocations: 38.5 kB / 0.6435 GB, free: 3.055 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1363, allocations: 0 / 0.6435 GB, free: 3.055 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.1364, allocations: 41.64 kB / 0.6436 GB, free: 3.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.1364, allocations: 51.41 kB / 0.6436 GB, free: 2.945 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.123e-05/0.1365, allocations: 89.86 kB / 0.6437 GB, free: 2.848 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1365, allocations: 25.7 kB / 0.6437 GB, free: 2.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.1365, allocations: 80.14 kB / 0.6438 GB, free: 2.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1365, allocations: 4.125 kB / 0.6438 GB, free: 2.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.1366, allocations: 17.7 kB / 0.6438 GB, free: 2.707 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.1367, allocations: 310.8 kB / 0.6441 GB, free: 2.395 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-06/0.1367, allocations: 0 / 0.6441 GB, free: 2.395 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.1367, allocations: 0 / 0.6441 GB, free: 2.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.1367, allocations: 16.8 kB / 0.6441 GB, free: 2.375 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1367, allocations: 4 kB / 0.6441 GB, free: 2.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.505e-05/0.1368, allocations: 33.77 kB / 0.6442 GB, free: 2.332 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1368, allocations: 11.97 kB / 0.6442 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1368, allocations: 0 / 0.6442 GB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1369, allocations: 7.922 kB / 0.6442 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.358e-05/0.1369, allocations: 7.984 kB / 0.6442 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1369, allocations: 0 / 0.6442 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.1369, allocations: 0 / 0.6442 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1369, allocations: 0 / 0.6442 GB, free: 2.305 MB / 442.7 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.963e-05/0.137, allocations: 107.2 kB / 0.6443 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.137, allocations: 3.938 kB / 0.6443 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.1371, allocations: 52.75 kB / 0.6443 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1371, allocations: 0 / 0.6443 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1371, allocations: 0 / 0.6443 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1371, allocations: 0 / 0.6443 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.694e-05/0.1372, allocations: 141.7 kB / 0.6445 GB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1372, allocations: 0 / 0.6445 GB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.1372, allocations: 4 kB / 0.6445 GB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1373, allocations: 7.875 kB / 0.6445 GB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1373, allocations: 4.031 kB / 0.6445 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1373, allocations: 0 / 0.6445 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1373, allocations: 3.984 kB / 0.6445 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.1376, allocations: 0.6045 MB / 0.6451 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.1376, allocations: 77.11 kB / 0.6452 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.1376, allocations: 0 / 0.6452 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-06/0.1377, allocations: 4.031 kB / 0.6452 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.538e-06/0.1377, allocations: 4 kB / 0.6452 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1377, allocations: 0 / 0.6452 GB, free: 1.156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.562e-05/0.1377, allocations: 79.28 kB / 0.6452 GB, free: 1.078 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1377, allocations: 0 / 0.6452 GB, free: 1.078 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.138, allocations: 4 kB / 0.6453 GB, free: 1.074 MB / 442.7 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.0001424/0.1382, allocations: 107.2 kB / 0.6454 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.696e-05/0.1382, allocations: 15.88 kB / 0.6454 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1382, allocations: 0 / 0.6454 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.1382, allocations: 0 / 0.6454 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1384, allocations: 4.281 kB / 0.6454 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.1386, allocations: 181.6 kB / 0.6455 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1388, allocations: 0.6692 MB / 0.6462 GB, free: 32 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.1389, allocations: 12.12 kB / 0.6462 GB, free: 20 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.117e-05/0.1389, allocations: 7.438 kB / 0.6462 GB, free: 12 kB / 442.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1389, allocations: 0 / 0.6462 GB, free: 12 kB / 442.7 MB Notification: Performance of Templates: time 0.001966/0.1408, allocations: 280.9 kB / 0.6465 GB, free: 15.74 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)