Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1724/0.1724, allocations: 31.57 MB / 336.1 MB, free: 14.58 MB / 270.1 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.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(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 75.22 kB / 470.5 MB, free: 36.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 59.5 MB / 0.5175 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.01362/0.1207, allocations: 7.049 MB / 0.5244 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.1271, allocations: 2.244 MB / 0.5266 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.1286, allocations: 19.88 kB / 0.5266 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.1294, allocations: 166.5 kB / 0.5268 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.1302, allocations: 150.8 kB / 0.5269 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.1315, allocations: 350.8 kB / 0.5273 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1328, allocations: 0.7184 MB / 0.528 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006951/0.1335, allocations: 256.4 kB / 0.5282 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.134, allocations: 234.8 kB / 0.5284 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003933/0.1344, allocations: 250.4 kB / 0.5287 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.1345, allocations: 44 kB / 0.5287 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.1348, allocations: 87.97 kB / 0.5288 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.135, allocations: 151.3 kB / 0.5289 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.1354, allocations: 286 kB / 0.5292 GB, free: 412 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1366, allocations: 0.6453 MB / 0.5298 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1366, allocations: 0 / 0.5298 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1366, allocations: 0 / 0.5298 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.1366, allocations: 0 / 0.5298 GB, free: 15.75 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002209/0.1388, allocations: 1.019 MB / 0.5308 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.1389, allocations: 12.03 kB / 0.5309 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/0.1393, allocations: 103.4 kB / 0.531 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.1404, allocations: 0.4994 MB / 0.5314 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.1405, allocations: 32.94 kB / 0.5315 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.1405, allocations: 32 kB / 0.5315 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.1418, allocations: 481.1 kB / 0.532 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.1418, allocations: 0 / 0.532 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.1419, allocations: 23.94 kB / 0.532 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.1419, allocations: 8 kB / 0.532 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.143, allocations: 254.1 kB / 0.5322 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.1458, allocations: 1.115 MB / 0.5333 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1468, allocations: 181 kB / 0.5335 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.1472, allocations: 77.67 kB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.1472, allocations: 4 kB / 0.5336 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.1473, allocations: 42.55 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/0.1473, allocations: 0 / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001347/0.1486, allocations: 297.2 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003188/0.149, allocations: 441 kB / 0.5343 GB, free: 10.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1501, allocations: 0.6332 MB / 0.5349 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.1502, allocations: 33.7 kB / 0.535 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.1505, allocations: 320.6 kB / 0.5353 GB, free: 9.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.1506, allocations: 43.64 kB / 0.5353 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.1507, allocations: 53.66 kB / 0.5354 GB, free: 9.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.151, allocations: 358.8 kB / 0.5357 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.1514, allocations: 71.94 kB / 0.5358 GB, free: 9.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.1519, allocations: 190.5 kB / 0.536 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.1526, allocations: 162.4 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1526, allocations: 0 / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009865/0.1536, allocations: 249.2 kB / 0.5364 GB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1537, allocations: 4 kB / 0.5364 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1537, allocations: 4 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1537, allocations: 3.938 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.1541, allocations: 43.89 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1541, allocations: 0 / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.1546, allocations: 51.84 kB / 0.5365 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.1546, allocations: 4 kB / 0.5365 GB, free: 8.531 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 0.0003433/0.155, allocations: 186.3 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.1551, allocations: 59.86 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00072/0.1559, allocations: 195 kB / 0.5369 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.1559, allocations: 11.86 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1559, allocations: 4 kB / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1559, allocations: 0 / 0.5369 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000915/0.1568, allocations: 473.2 kB / 0.5373 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1568, allocations: 4 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.1571, allocations: 31.95 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.1571, allocations: 4 kB / 0.5374 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1571, allocations: 0 / 0.5374 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.1571, allocations: 3.938 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1571, allocations: 0 / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.1581, allocations: 413.1 kB / 0.5378 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.1585, allocations: 176.5 kB / 0.5379 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/0.1586, allocations: 4 kB / 0.538 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.1591, allocations: 43.89 kB / 0.538 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.1592, allocations: 11.98 kB / 0.538 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1592, allocations: 4 kB / 0.538 GB, free: 6.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008295/0.16, allocations: 459 kB / 0.5384 GB, free: 6.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.16, allocations: 3.938 kB / 0.5385 GB, free: 6.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006998/0.1607, allocations: 107.7 kB / 0.5386 GB, free: 6.289 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.001758/0.1625, allocations: 357.9 kB / 0.5389 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000901/0.1634, allocations: 163.8 kB / 0.5391 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1634, allocations: 4 kB / 0.5391 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.1638, allocations: 79.88 kB / 0.5391 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.1649, allocations: 134.9 kB / 0.5393 GB, free: 5.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1666, allocations: 0.8717 MB / 0.5401 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.1674, allocations: 0.8855 MB / 0.541 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.1678, allocations: 71.41 kB / 0.541 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.168, allocations: 39.36 kB / 0.5411 GB, free: 3.789 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.168, allocations: 0 / 0.5411 GB, free: 3.789 MB / 398.1 MB Notification: Performance of Templates: time 0.0208/0.1888, allocations: 6.49 MB / 0.5474 GB, free: 13.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.168711192905903]