Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_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.001055/0.001055, allocations: 80.94 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.004776/0.004776, allocations: 173.4 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.088/1.088, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo): time 0.1069/0.1069, allocations: 24.14 MB / 284.4 MB, free: 5.113 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/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_dev_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 308.4 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.346e-05, allocations: 10.33 kB / 308.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.01345/0.01347, allocations: 6.598 MB / 315 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.02382, allocations: 2.474 MB / 317.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008304/0.02465, allocations: 27.75 kB / 317.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005159/0.02517, allocations: 162.5 kB / 317.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006333/0.0258, allocations: 200 kB / 317.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003839/0.02964, allocations: 339.9 kB / 318.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.03042, allocations: 0.7374 MB / 318.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.03085, allocations: 246.9 kB / 319.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.03164, allocations: 382.7 kB / 319.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002248/0.03389, allocations: 167.3 kB / 319.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.03402, allocations: 44 kB / 319.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.03425, allocations: 87.89 kB / 319.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.0344, allocations: 147.3 kB / 320 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.03457, allocations: 167.3 kB / 320.1 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007426/0.03532, allocations: 477.9 kB / 320.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.03532, allocations: 4 kB / 320.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.03532, allocations: 0 / 320.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.03534, allocations: 0 / 320.6 MB, free: 12.72 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.00128/0.03662, allocations: 0.9084 MB / 321.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.03666, allocations: 8.75 kB / 321.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/0.03701, allocations: 99.84 kB / 321.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.03768, allocations: 405.4 kB / 322 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.03772, allocations: 29 kB / 322 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.03777, allocations: 40 kB / 322.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.0385, allocations: 0.6986 MB / 322.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.03851, allocations: 0 / 322.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.03854, allocations: 20 kB / 322.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.03856, allocations: 11.94 kB / 322.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.03876, allocations: 88.48 kB / 322.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.04012, allocations: 0.6626 MB / 323.6 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.04049, allocations: 93.09 kB / 323.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.04054, allocations: 29.7 kB / 323.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.04057, allocations: 0 / 323.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.0406, allocations: 42.5 kB / 323.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.0406, allocations: 0 / 323.7 MB, free: 9.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003074/0.04091, allocations: 117.5 kB / 323.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.04107, allocations: 419.2 kB / 324.2 MB, free: 8.734 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.04159, allocations: 0.5253 MB / 324.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.04162, allocations: 33.7 kB / 324.8 MB, free: 8.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.04279, allocations: 245.9 kB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.04281, allocations: 43.62 kB / 325.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.04289, allocations: 57.59 kB / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.04299, allocations: 366.6 kB / 325.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.04303, allocations: 12 kB / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.04321, allocations: 466.3 kB / 326 MB, free: 6.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.331e-05/0.04331, allocations: 58.47 kB / 326 MB, free: 6.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.04331, allocations: 0 / 326 MB, free: 6.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001553/0.04347, allocations: 109.5 kB / 326.1 MB, free: 6.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.04348, allocations: 8.031 kB / 326.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.04349, allocations: 240 / 326.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.04351, allocations: 4 kB / 326.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.04365, allocations: 39.95 kB / 326.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.04365, allocations: 0 / 326.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.04378, allocations: 35.92 kB / 326.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.04379, allocations: 15.91 kB / 326.2 MB, free: 6.566 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.0001041/0.04389, allocations: 128.5 kB / 326.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.04395, allocations: 39.95 kB / 326.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.04412, allocations: 115.3 kB / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.04412, allocations: 0 / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.04412, allocations: 0 / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.04413, allocations: 3.984 kB / 326.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.04438, allocations: 233.5 kB / 326.7 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.04438, allocations: 3.938 kB / 326.8 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.04447, allocations: 31.97 kB / 326.8 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.04447, allocations: 8 kB / 326.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.04448, allocations: 0 / 326.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.04448, allocations: 80 / 326.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.04448, allocations: 7.984 kB / 326.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.04468, allocations: 282.6 kB / 327.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.04479, allocations: 74.16 kB / 327.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.04482, allocations: 8 kB / 327.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.04494, allocations: 27.97 kB / 327.2 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.04498, allocations: 11.98 kB / 327.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.04499, allocations: 0 / 327.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001977/0.04518, allocations: 267.4 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04519, allocations: 0 / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.04544, allocations: 103.6 kB / 327.6 MB, free: 5.188 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.001086/0.04652, allocations: 449.6 kB / 328 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.04668, allocations: 64.75 kB / 328.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.04669, allocations: 8 kB / 328.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.04674, allocations: 32.78 kB / 328.1 MB, free: 4.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.04717, allocations: 153.5 kB / 328.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.04813, allocations: 0.8317 MB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.0482, allocations: 129.2 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.04835, allocations: 59.47 kB / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.04862, allocations: 189.2 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.04862, allocations: 4 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of Templates: time 0.01026/0.05888, allocations: 7.433 MB / 336.9 MB, free: 12.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.10776689928025]