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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 116.1 kB / 16.42 MB, free: 6.504 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.001595/0.001595, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.778/0.778, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 76.67 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1337, allocations: 80.21 MB / 0.6604 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001519/0.1352, allocations: 0.5791 MB / 0.661 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1367, allocations: 1.247 MB / 0.6622 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.1367, allocations: 7.938 kB / 0.6622 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.1367, allocations: 0 / 0.6622 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.1368, allocations: 0 / 0.6622 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.1371, allocations: 59.81 kB / 0.6622 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.823e-05/0.1371, allocations: 4 kB / 0.6622 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.1372, allocations: 0 / 0.6622 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.1372, allocations: 7.984 kB / 0.6622 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.1372, allocations: 0 / 0.6622 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.1373, allocations: 0 / 0.6622 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1375, allocations: 95.84 kB / 0.6623 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.1375, allocations: 3.984 kB / 0.6623 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.1375, allocations: 11.92 kB / 0.6624 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1376, allocations: 43.89 kB / 0.6624 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1376, allocations: 0 / 0.6624 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1377, allocations: 3.938 kB / 0.6624 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1377, allocations: 0 / 0.6624 GB, free: 8.277 MB / 0.4981 GB 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.0002925/0.138, allocations: 319.5 kB / 0.6627 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.138, allocations: 8.031 kB / 0.6627 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.138, allocations: 4.922 kB / 0.6627 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.08e-05/0.1381, allocations: 164.4 kB / 0.6629 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1382, allocations: 4.375 kB / 0.6629 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1382, allocations: 4.375 kB / 0.6629 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.445e-05/0.1383, allocations: 30.02 kB / 0.6629 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1383, allocations: 0 / 0.6629 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1383, allocations: 0 / 0.6629 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1383, allocations: 3.938 kB / 0.6629 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.1383, allocations: 4 kB / 0.6629 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.1385, allocations: 145.7 kB / 0.6631 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.1385, allocations: 26.61 kB / 0.6631 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.1385, allocations: 4.859 kB / 0.6631 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.139, allocations: 0.5584 MB / 0.6636 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1391, allocations: 34.5 kB / 0.6637 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1391, allocations: 4 kB / 0.6637 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.1392, allocations: 41.62 kB / 0.6637 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.1392, allocations: 55.41 kB / 0.6638 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.442e-05/0.1393, allocations: 89.86 kB / 0.6638 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1393, allocations: 25.7 kB / 0.6639 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.1393, allocations: 80.14 kB / 0.6639 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1394, allocations: 11.83 kB / 0.664 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.1394, allocations: 13.72 kB / 0.664 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1395, allocations: 315 kB / 0.6643 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.1395, allocations: 4 kB / 0.6643 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.1395, allocations: 0 / 0.6643 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.1396, allocations: 12.84 kB / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1396, allocations: 3.938 kB / 0.6643 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.848e-05/0.1396, allocations: 29.7 kB / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1396, allocations: 8 kB / 0.6643 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1396, allocations: 3.938 kB / 0.6643 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1397, allocations: 4.094 kB / 0.6643 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.1397, allocations: 4 kB / 0.6643 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1397, allocations: 4 kB / 0.6643 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.033e-05/0.1397, allocations: 0 / 0.6643 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1397, allocations: 0 / 0.6643 GB, free: 5.934 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.201e-05/0.1398, allocations: 110.7 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.1398, allocations: 0 / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.1399, allocations: 52.7 kB / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1399, allocations: 3.938 kB / 0.6645 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1399, allocations: 0 / 0.6645 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.14, allocations: 85.08 kB / 0.6646 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.14, allocations: 0 / 0.6646 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-06/0.14, allocations: 0 / 0.6646 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/0.14, allocations: 0 / 0.6646 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.666e-05/0.1401, allocations: 113 kB / 0.6647 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001047/0.1402, allocations: 210.8 kB / 0.6649 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.548e-05/0.1402, allocations: 4 kB / 0.6649 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.358e-05/0.1402, allocations: 79.28 kB / 0.665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of Backend: time 2.9e-07/0.1402, allocations: 0 / 0.665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.1406, allocations: 94.33 kB / 0.6651 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0002984/0.1409, allocations: 0.5214 MB / 0.6656 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of Templates: time 0.002269/0.1432, allocations: 0.4889 MB / 0.666 GB, free: 4.066 MB / 0.4981 GB 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)