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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.119/0.119, allocations: 24.15 MB / 284.4 MB, free: 5.152 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.172e-06/1.172e-06, allocations: 0 / 308.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.859e-05, allocations: 4.328 kB / 308.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.005552/0.005571, allocations: 6.587 MB / 315 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.008295, allocations: 2.484 MB / 317.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.0086, allocations: 31.75 kB / 317.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.008932, allocations: 158.4 kB / 317.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.009308, allocations: 198.4 kB / 317.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.009748, allocations: 343 kB / 318.2 MB, free: 15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.01026, allocations: 0.7335 MB / 318.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/0.01056, allocations: 247 kB / 319.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006179/0.01118, allocations: 391.6 kB / 319.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.01132, allocations: 163.3 kB / 319.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.01137, allocations: 44 kB / 319.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.01149, allocations: 91.89 kB / 319.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.01161, allocations: 143.3 kB / 320 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.01172, allocations: 163.4 kB / 320.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.01215, allocations: 485.9 kB / 320.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01215, allocations: 0 / 320.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01215, allocations: 0 / 320.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.01216, allocations: 0 / 320.6 MB, free: 12.59 MB / 298.7 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.0008106/0.01297, allocations: 0.9044 MB / 321.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.01301, allocations: 8.75 kB / 321.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.0132, allocations: 99.84 kB / 321.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.01361, allocations: 405.5 kB / 322 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.01364, allocations: 29 kB / 322.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.01367, allocations: 40 kB / 322.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.01417, allocations: 0.7025 MB / 322.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.01418, allocations: 0 / 322.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.0142, allocations: 19.94 kB / 322.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.01421, allocations: 8 kB / 322.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.01434, allocations: 92.47 kB / 322.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008488/0.01519, allocations: 0.6548 MB / 323.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.01546, allocations: 97.09 kB / 323.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.01551, allocations: 25.7 kB / 323.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01553, allocations: 11.94 kB / 323.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.01556, allocations: 42.5 kB / 323.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.01556, allocations: 0 / 323.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002299/0.01579, allocations: 117.7 kB / 323.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/0.01599, allocations: 415.2 kB / 324.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.01635, allocations: 0.5251 MB / 324.8 MB, free: 8.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.01636, allocations: 29.7 kB / 324.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.01649, allocations: 253.8 kB / 325.1 MB, free: 7.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.01652, allocations: 39.64 kB / 325.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.01658, allocations: 57.59 kB / 325.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.01669, allocations: 370.6 kB / 325.5 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.01673, allocations: 11.98 kB / 325.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.01708, allocations: 458.9 kB / 326 MB, free: 6.719 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.01716, allocations: 54.53 kB / 326 MB, free: 6.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01716, allocations: 4 kB / 326 MB, free: 6.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001429/0.01731, allocations: 121.6 kB / 326.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01732, allocations: 4 kB / 326.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01733, allocations: 4 kB / 326.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.01734, allocations: 0 / 326.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.01746, allocations: 35.95 kB / 326.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.01746, allocations: 4 kB / 326.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.01757, allocations: 31.92 kB / 326.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.01759, allocations: 11.98 kB / 326.3 MB, free: 6.438 MB / 298.7 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.0001004/0.01769, allocations: 136.6 kB / 326.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.01774, allocations: 35.95 kB / 326.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.01789, allocations: 115.3 kB / 326.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.0179, allocations: 0 / 326.5 MB, free: 6.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.0179, allocations: 7.984 kB / 326.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.0179, allocations: 0 / 326.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.01815, allocations: 237.4 kB / 326.8 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01815, allocations: 0 / 326.8 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.01823, allocations: 31.97 kB / 326.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01823, allocations: 0 / 326.8 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.01824, allocations: 4 kB / 326.8 MB, free: 5.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01824, allocations: 4 kB / 326.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01824, allocations: 3.984 kB / 326.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.01842, allocations: 278.6 kB / 327.1 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.01853, allocations: 82.16 kB / 327.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.01856, allocations: 4 kB / 327.2 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.01869, allocations: 23.97 kB / 327.2 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.01872, allocations: 15.98 kB / 327.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01873, allocations: 0 / 327.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.01891, allocations: 267.4 kB / 327.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01891, allocations: 0 / 327.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.01914, allocations: 103.6 kB / 327.6 MB, free: 5.055 MB / 298.7 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.000963/0.0201, allocations: 447.1 kB / 328 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.02023, allocations: 60.77 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.02024, allocations: 4 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.02028, allocations: 36.78 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.0207, allocations: 158.5 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.02153, allocations: 0.8315 MB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.019e-05/0.02161, allocations: 133.2 kB / 329.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.02174, allocations: 59.47 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.02227, allocations: 193.2 kB / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02227, allocations: 0 / 329.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of Templates: time 0.01015/0.03241, allocations: 7.419 MB / 336.9 MB, free: 12.12 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.056945711839944]