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.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.001366/0.001366, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001531/0.001531, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.425/1.425, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1823/0.1823, allocations: 31.6 MB / 337.7 MB, free: 9.777 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-main/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_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 0.002618/0.002618, allocations: 59.91 kB / 472.6 MB, free: 6.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3705, allocations: 59.5 MB / 0.5196 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.00757/0.3781, allocations: 7.048 MB / 0.5265 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.3824, allocations: 2.258 MB / 0.5287 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.3837, allocations: 21.66 kB / 0.5287 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.3842, allocations: 169.7 kB / 0.5289 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.3848, allocations: 150.8 kB / 0.5291 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.3858, allocations: 347.6 kB / 0.5294 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.3866, allocations: 0.7155 MB / 0.5301 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005064/0.3871, allocations: 259 kB / 0.5303 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004208/0.3875, allocations: 247.1 kB / 0.5306 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3878, allocations: 247.8 kB / 0.5308 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.803e-05/0.3879, allocations: 45.09 kB / 0.5308 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3881, allocations: 90.47 kB / 0.5309 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.3883, allocations: 149.2 kB / 0.5311 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.3886, allocations: 288.5 kB / 0.5313 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.3895, allocations: 0.6425 MB / 0.532 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3895, allocations: 0 / 0.532 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3895, allocations: 1.469 kB / 0.532 GB, free: 492 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3896, allocations: 0 / 0.532 GB, free: 492 kB / 382.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.001676/0.3912, allocations: 1.02 MB / 0.533 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.3913, allocations: 9.375 kB / 0.533 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.3916, allocations: 103.6 kB / 0.5331 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.3925, allocations: 0.4987 MB / 0.5336 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.3925, allocations: 31.5 kB / 0.5336 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.3926, allocations: 35.62 kB / 0.5336 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/0.3935, allocations: 470 kB / 0.5341 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3935, allocations: 0 / 0.5341 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.3936, allocations: 22.05 kB / 0.5341 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.3936, allocations: 8.562 kB / 0.5341 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00082/0.3944, allocations: 260.8 kB / 0.5344 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.3966, allocations: 1.117 MB / 0.5354 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.3974, allocations: 170.6 kB / 0.5356 GB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.3976, allocations: 81.2 kB / 0.5357 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.3976, allocations: 2.797 kB / 0.5357 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3977, allocations: 38.59 kB / 0.5357 GB, free: 14.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.3977, allocations: 0 / 0.5357 GB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001016/0.3987, allocations: 301.9 kB / 0.536 GB, free: 13.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002483/0.3989, allocations: 442.4 kB / 0.5364 GB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.3998, allocations: 0.6432 MB / 0.5371 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3998, allocations: 32.08 kB / 0.5371 GB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.4001, allocations: 315.5 kB / 0.5374 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.4002, allocations: 43.77 kB / 0.5374 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.4003, allocations: 51.98 kB / 0.5375 GB, free: 12.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4005, allocations: 361 kB / 0.5378 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.4008, allocations: 67.58 kB / 0.5379 GB, free: 12.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.4012, allocations: 190.4 kB / 0.5381 GB, free: 12.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.4017, allocations: 164.9 kB / 0.5382 GB, free: 12.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4017, allocations: 0 / 0.5382 GB, free: 12.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007042/0.4024, allocations: 247.1 kB / 0.5385 GB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4024, allocations: 6.25 kB / 0.5385 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.4024, allocations: 0.9688 kB / 0.5385 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4024, allocations: 4.938 kB / 0.5385 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.4027, allocations: 42.83 kB / 0.5385 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.4027, allocations: 5.531 kB / 0.5385 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.4031, allocations: 47.34 kB / 0.5386 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.4031, allocations: 7.453 kB / 0.5386 GB, free: 12.06 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.0002371/0.4033, allocations: 179.9 kB / 0.5388 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4035, allocations: 69.45 kB / 0.5388 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.404, allocations: 188.2 kB / 0.539 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.404, allocations: 10.89 kB / 0.539 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.404, allocations: 0 / 0.539 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.404, allocations: 1.703 kB / 0.539 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006985/0.4047, allocations: 476 kB / 0.5395 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4047, allocations: 0 / 0.5395 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.405, allocations: 40.81 kB / 0.5395 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.405, allocations: 1.156 kB / 0.5395 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.405, allocations: 2.109 kB / 0.5395 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.405, allocations: 5.156 kB / 0.5395 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.405, allocations: 1.188 kB / 0.5395 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007315/0.4057, allocations: 406.6 kB / 0.5399 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.406, allocations: 171.9 kB / 0.5401 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.4061, allocations: 3.562 kB / 0.5401 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.4064, allocations: 42.44 kB / 0.5401 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.4065, allocations: 16.16 kB / 0.5401 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4065, allocations: 11.62 kB / 0.5401 GB, free: 11.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005998/0.4071, allocations: 458.1 kB / 0.5406 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4071, allocations: 1.375 kB / 0.5406 GB, free: 10.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004553/0.4076, allocations: 107.6 kB / 0.5407 GB, free: 10.81 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.001313/0.4089, allocations: 359.4 kB / 0.541 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.4095, allocations: 164.3 kB / 0.5412 GB, free: 10.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.4095, allocations: 5.062 kB / 0.5412 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.4098, allocations: 82.41 kB / 0.5413 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008502/0.4107, allocations: 135.3 kB / 0.5414 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.4123, allocations: 0.8764 MB / 0.5422 GB, free: 10 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.4129, allocations: 0.8848 MB / 0.5431 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.4132, allocations: 70.03 kB / 0.5432 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4133, allocations: 42.27 kB / 0.5432 GB, free: 9.262 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4133, allocations: 0 / 0.5432 GB, free: 9.262 MB / 398.1 MB Notification: Performance of Templates: time 0.0151/0.4284, allocations: 6.489 MB / 0.5496 GB, free: 6.301 MB / 398.1 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=480 -s gbode -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.218990695197135] Failed to read output from testmodel.py, exit status != 0: 0.4397679241374135 0.463730612 0.06942105700000001 Calling exit ...