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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 183.2 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-master/package.mo): time 0.8239/0.8239, allocations: 133.3 MB / 150.1 MB, free: 11.19 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.483/1.483, allocations: 222.9 MB / 404.7 MB, free: 6.102 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.0009971/0.0009972, allocations: 103.2 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.89 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1437, allocations: 80.43 MB / 0.6422 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00218/0.1459, allocations: 0.6271 MB / 0.6428 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1476, allocations: 1.257 MB / 0.644 GB, free: 3.527 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/0.1477, allocations: 0 / 0.644 GB, free: 3.527 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.1477, allocations: 0 / 0.644 GB, free: 3.527 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.1477, allocations: 3.938 kB / 0.644 GB, free: 3.523 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.1481, allocations: 43.89 kB / 0.644 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.391e-05/0.1481, allocations: 0 / 0.644 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.1482, allocations: 4 kB / 0.644 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.1482, allocations: 0 / 0.644 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.1482, allocations: 0 / 0.644 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.1483, allocations: 0 / 0.644 GB, free: 3.477 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1485, allocations: 99.83 kB / 0.6441 GB, free: 3.379 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1485, allocations: 4 kB / 0.6441 GB, free: 3.375 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.1486, allocations: 0 / 0.6441 GB, free: 3.375 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1487, allocations: 51.94 kB / 0.6442 GB, free: 3.324 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1487, allocations: 0 / 0.6442 GB, free: 3.324 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1487, allocations: 4 kB / 0.6442 GB, free: 3.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1487, allocations: 0 / 0.6442 GB, free: 3.32 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.0003266/0.1491, allocations: 327.5 kB / 0.6445 GB, free: 2.953 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1491, allocations: 8.031 kB / 0.6445 GB, free: 2.945 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.1491, allocations: 8.844 kB / 0.6445 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.1492, allocations: 160.4 kB / 0.6447 GB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1492, allocations: 384 / 0.6447 GB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-06/0.1493, allocations: 4.375 kB / 0.6447 GB, free: 2.738 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1494, allocations: 38 kB / 0.6447 GB, free: 2.695 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1494, allocations: 0 / 0.6447 GB, free: 2.695 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1494, allocations: 7.984 kB / 0.6447 GB, free: 2.688 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1494, allocations: 0 / 0.6447 GB, free: 2.688 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.122e-05/0.1494, allocations: 3.938 kB / 0.6447 GB, free: 2.684 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.1496, allocations: 149.7 kB / 0.6449 GB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.738e-05/0.1496, allocations: 18.61 kB / 0.6449 GB, free: 2.461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.1497, allocations: 8.859 kB / 0.6449 GB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/0.1502, allocations: 0.5584 MB / 0.6454 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1503, allocations: 38.5 kB / 0.6455 GB, free: 1.715 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.1503, allocations: 0 / 0.6455 GB, free: 1.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.1504, allocations: 37.64 kB / 0.6455 GB, free: 1.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.1505, allocations: 55.53 kB / 0.6456 GB, free: 1.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.018e-05/0.1505, allocations: 93.84 kB / 0.6457 GB, free: 1.504 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1505, allocations: 25.7 kB / 0.6457 GB, free: 1.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.1506, allocations: 80.14 kB / 0.6458 GB, free: 1.391 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1506, allocations: 0 / 0.6458 GB, free: 1.391 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1506, allocations: 17.72 kB / 0.6458 GB, free: 1.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1507, allocations: 310.8 kB / 0.6461 GB, free: 1.055 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.1508, allocations: 0 / 0.6461 GB, free: 1.055 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.1508, allocations: 8 kB / 0.6461 GB, free: 1.047 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.1508, allocations: 4.859 kB / 0.6461 GB, free: 1.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1508, allocations: 3.938 kB / 0.6461 GB, free: 1.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.143e-05/0.1509, allocations: 41.62 kB / 0.6461 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1509, allocations: 7.938 kB / 0.6461 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1509, allocations: 0 / 0.6461 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1509, allocations: 0 / 0.6461 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.151, allocations: 4 kB / 0.6461 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.151, allocations: 3.938 kB / 0.6461 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.151, allocations: 4.094 kB / 0.6462 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.151, allocations: 0 / 0.6462 GB, free: 0.9688 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 7.228e-05/0.1511, allocations: 109.8 kB / 0.6463 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.1511, allocations: 7.938 kB / 0.6463 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/0.1512, allocations: 40.75 kB / 0.6463 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1512, allocations: 0 / 0.6463 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1512, allocations: 0 / 0.6463 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1513, allocations: 4.031 kB / 0.6463 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.253e-05/0.1513, allocations: 153.7 kB / 0.6465 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1514, allocations: 3.984 kB / 0.6465 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.1514, allocations: 0 / 0.6465 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1514, allocations: 3.938 kB / 0.6465 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.1514, allocations: 0 / 0.6465 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1514, allocations: 0 / 0.6465 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1514, allocations: 4 kB / 0.6465 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.1517, allocations: 0.6006 MB / 0.6471 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.1518, allocations: 77.11 kB / 0.6471 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1518, allocations: 4 kB / 0.6471 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.1518, allocations: 4 kB / 0.6471 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.1518, allocations: 0 / 0.6471 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.1518, allocations: 3.984 kB / 0.6471 GB, free: 15.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.1519, allocations: 79.28 kB / 0.6472 GB, free: 15.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 32 / 0.6472 GB, free: 15.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.1522, allocations: 8 kB / 0.6472 GB, free: 15.73 MB / 458.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.0001845/0.1524, allocations: 103.2 kB / 0.6473 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.688e-05/0.1525, allocations: 15.88 kB / 0.6473 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1525, allocations: 0 / 0.6473 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.1525, allocations: 0 / 0.6473 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1526, allocations: 6 kB / 0.6473 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.1529, allocations: 186.9 kB / 0.6475 GB, free: 15.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.1531, allocations: 0.6731 MB / 0.6482 GB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.165e-05/0.1532, allocations: 0 / 0.6482 GB, free: 14.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.1532, allocations: 7.438 kB / 0.6482 GB, free: 14.68 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1532, allocations: 0 / 0.6482 GB, free: 14.68 MB / 458.7 MB Notification: Performance of Templates: time 0.002018/0.1552, allocations: 298.6 kB / 0.6485 GB, free: 14.39 MB / 458.7 MB 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)