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.001559/0.001559, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001738/0.001739, allocations: 187 kB / 17.34 MB, free: 5.719 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8161/0.8161, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.66 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1491, allocations: 80.93 MB / 0.6653 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001958/0.1511, allocations: 0.5627 MB / 0.6659 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1528, allocations: 1.243 MB / 0.6671 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.1529, allocations: 4 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.1529, allocations: 0 / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-06/0.1529, allocations: 4 kB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1534, allocations: 67.73 kB / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.1534, allocations: 4 kB / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.1535, allocations: 0 / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.506e-05/0.1535, allocations: 0 / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.101e-05/0.1535, allocations: 4 kB / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.1535, allocations: 0 / 0.6672 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.1538, allocations: 99.89 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.1538, allocations: 0 / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.1538, allocations: 3.938 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.154, allocations: 47.94 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.154, allocations: 0 / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.154, allocations: 0 / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.154, allocations: 3.938 kB / 0.6673 GB, free: 3.68 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.000309/0.1543, allocations: 327.6 kB / 0.6676 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1544, allocations: 9.109 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.1544, allocations: 4.938 kB / 0.6677 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.083e-05/0.1545, allocations: 164.4 kB / 0.6678 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1545, allocations: 4.359 kB / 0.6678 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.1545, allocations: 384 / 0.6678 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.1546, allocations: 41.94 kB / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1546, allocations: 0 / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1546, allocations: 0 / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1547, allocations: 4 kB / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.301e-05/0.1547, allocations: 4 kB / 0.6679 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1548, allocations: 141.7 kB / 0.668 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.1549, allocations: 22.58 kB / 0.668 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.1549, allocations: 12.94 kB / 0.668 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/0.1554, allocations: 0.5583 MB / 0.6686 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1555, allocations: 34.5 kB / 0.6686 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1555, allocations: 4 kB / 0.6686 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.1556, allocations: 33.7 kB / 0.6687 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1557, allocations: 55.39 kB / 0.6687 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.686e-05/0.1557, allocations: 89.86 kB / 0.6688 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1557, allocations: 29.7 kB / 0.6688 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.1558, allocations: 84.08 kB / 0.6689 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1558, allocations: 0 / 0.6689 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.1558, allocations: 9.719 kB / 0.6689 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1559, allocations: 319 kB / 0.6692 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.1559, allocations: 4 kB / 0.6692 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.1559, allocations: 3.938 kB / 0.6692 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.156, allocations: 8.859 kB / 0.6692 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.156, allocations: 0 / 0.6692 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.849e-05/0.1561, allocations: 33.69 kB / 0.6693 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1561, allocations: 11.94 kB / 0.6693 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1561, allocations: 0 / 0.6693 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1561, allocations: 4.094 kB / 0.6693 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.1562, allocations: 0 / 0.6693 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1562, allocations: 3.984 kB / 0.6693 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.1562, allocations: 0 / 0.6693 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1562, allocations: 4 kB / 0.6693 GB, free: 1.332 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.599e-05/0.1563, allocations: 109.8 kB / 0.6694 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.1563, allocations: 3.938 kB / 0.6694 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.682e-05/0.1564, allocations: 44.75 kB / 0.6694 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1564, allocations: 4 kB / 0.6694 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1564, allocations: 3.938 kB / 0.6694 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1564, allocations: 0 / 0.6694 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.049e-05/0.1565, allocations: 145.7 kB / 0.6696 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1565, allocations: 0 / 0.6696 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.1565, allocations: 4 kB / 0.6696 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1566, allocations: 3.938 kB / 0.6696 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1566, allocations: 0 / 0.6696 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1566, allocations: 0 / 0.6696 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1566, allocations: 0 / 0.6696 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.1567, allocations: 65.11 kB / 0.6697 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.1567, allocations: 85.03 kB / 0.6697 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1567, allocations: 7.938 kB / 0.6697 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-06/0.1567, allocations: 0 / 0.6697 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.1567, allocations: 0 / 0.6697 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1567, allocations: 4 kB / 0.6697 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.877e-05/0.1568, allocations: 75.28 kB / 0.6698 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1568, allocations: 7.969 kB / 0.6698 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000193/0.157, allocations: 8 kB / 0.6698 GB, free: 0.6641 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.000159/0.1572, allocations: 104.6 kB / 0.6699 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.433e-05/0.1572, allocations: 4 kB / 0.6699 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1572, allocations: 0 / 0.6699 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.1573, allocations: 7.938 kB / 0.6699 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1574, allocations: 1.875 kB / 0.6699 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.1576, allocations: 114.7 kB / 0.6701 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1578, allocations: 0.6729 MB / 0.6707 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.1579, allocations: 7.438 kB / 0.6707 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1579, allocations: 0 / 0.6707 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of Templates: time 0.00182/0.1597, allocations: 439.7 kB / 0.6711 GB, free: 15.26 MB / 0.5137 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)