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.001418/0.001418, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001418/0.001418, allocations: 202 kB / 22.17 MB, free: 5.207 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.26 MB / 206.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.1726/0.1726, allocations: 31.57 MB / 337.7 MB, free: 9.625 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.00201/0.00201, allocations: 67.89 kB / 472.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 59.5 MB / 0.5196 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.006883/0.3821, allocations: 7.042 MB / 0.5265 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.3863, allocations: 2.266 MB / 0.5287 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.3878, allocations: 22.16 kB / 0.5287 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005404/0.3884, allocations: 165.6 kB / 0.5289 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005594/0.3889, allocations: 150.3 kB / 0.529 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.3898, allocations: 356.8 kB / 0.5293 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.3908, allocations: 0.7191 MB / 0.53 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.3914, allocations: 253.4 kB / 0.5303 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.3918, allocations: 240.1 kB / 0.5305 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.3921, allocations: 248.4 kB / 0.5308 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.482e-05/0.3922, allocations: 44.72 kB / 0.5308 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.3924, allocations: 86.47 kB / 0.5309 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3926, allocations: 152.7 kB / 0.531 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.3928, allocations: 289.5 kB / 0.5313 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008277/0.3936, allocations: 0.641 MB / 0.5319 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3936, allocations: 1 kB / 0.5319 GB, free: 472 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3936, allocations: 0.6094 kB / 0.5319 GB, free: 472 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3936, allocations: 0 / 0.5319 GB, free: 472 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.001575/0.3952, allocations: 1.024 MB / 0.5329 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3952, allocations: 10.09 kB / 0.5329 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.3955, allocations: 111.8 kB / 0.533 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.3964, allocations: 0.4941 MB / 0.5335 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.3965, allocations: 27.72 kB / 0.5336 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.3965, allocations: 35.81 kB / 0.5336 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009402/0.3975, allocations: 470.2 kB / 0.534 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3975, allocations: 0 / 0.534 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.3975, allocations: 20.88 kB / 0.5341 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.3976, allocations: 10.11 kB / 0.5341 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.3984, allocations: 256.2 kB / 0.5343 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.4007, allocations: 1.12 MB / 0.5354 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007466/0.4014, allocations: 171.1 kB / 0.5356 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.4017, allocations: 73.78 kB / 0.5356 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.4017, allocations: 6.25 kB / 0.5356 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4018, allocations: 42.44 kB / 0.5357 GB, free: 14.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.4018, allocations: 0 / 0.5357 GB, free: 14.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001008/0.4028, allocations: 301.1 kB / 0.536 GB, free: 13.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/0.403, allocations: 442.7 kB / 0.5364 GB, free: 13.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4041, allocations: 0.6406 MB / 0.537 GB, free: 13.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.4041, allocations: 36.14 kB / 0.5371 GB, free: 13.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.4044, allocations: 314.6 kB / 0.5374 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.4045, allocations: 44.11 kB / 0.5374 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.4046, allocations: 55.67 kB / 0.5375 GB, free: 12.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4048, allocations: 357.8 kB / 0.5378 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.4051, allocations: 66.95 kB / 0.5379 GB, free: 12.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.4054, allocations: 191.4 kB / 0.538 GB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004933/0.4059, allocations: 152.8 kB / 0.5382 GB, free: 12.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4059, allocations: 0 / 0.5382 GB, free: 12.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000672/0.4066, allocations: 259.6 kB / 0.5384 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4066, allocations: 5.438 kB / 0.5384 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.4066, allocations: 4.969 kB / 0.5384 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4067, allocations: 5.859 kB / 0.5384 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.4069, allocations: 39.09 kB / 0.5385 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.4069, allocations: 1.188 kB / 0.5385 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.4073, allocations: 51.83 kB / 0.5385 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.4073, allocations: 5.734 kB / 0.5385 GB, free: 12.03 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.0002522/0.4076, allocations: 180.2 kB / 0.5387 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4077, allocations: 64.97 kB / 0.5388 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.4082, allocations: 185.1 kB / 0.539 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.4083, allocations: 6.219 kB / 0.539 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.4083, allocations: 9.438 kB / 0.539 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4083, allocations: 0.5625 kB / 0.539 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.409, allocations: 475.4 kB / 0.5394 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.409, allocations: 1.078 kB / 0.5394 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.4092, allocations: 35.92 kB / 0.5395 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4092, allocations: 1.281 kB / 0.5395 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.4092, allocations: 2.484 kB / 0.5395 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.4092, allocations: 5.953 kB / 0.5395 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4093, allocations: 5.328 kB / 0.5395 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.41, allocations: 406 kB / 0.5399 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.4103, allocations: 175.6 kB / 0.54 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.4103, allocations: 3.609 kB / 0.54 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.4107, allocations: 46.2 kB / 0.5401 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.4108, allocations: 7.844 kB / 0.5401 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.4108, allocations: 4.375 kB / 0.5401 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006308/0.4114, allocations: 463.1 kB / 0.5405 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4114, allocations: 0 / 0.5405 GB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.4119, allocations: 104.1 kB / 0.5406 GB, free: 10.79 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.00132/0.4132, allocations: 367.3 kB / 0.541 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006395/0.4138, allocations: 164.8 kB / 0.5411 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.4138, allocations: 5.188 kB / 0.5411 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.4141, allocations: 77.44 kB / 0.5412 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008042/0.4149, allocations: 146 kB / 0.5414 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.4165, allocations: 0.8692 MB / 0.5422 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.417, allocations: 0.8917 MB / 0.5431 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.4173, allocations: 66.45 kB / 0.5431 GB, free: 9.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4174, allocations: 41.92 kB / 0.5432 GB, free: 9.238 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4174, allocations: 0 / 0.5432 GB, free: 9.238 MB / 398.1 MB Notification: Performance of Templates: time 0.01313/0.4305, allocations: 6.478 MB / 0.5495 GB, free: 6.281 MB / 398.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 -s cvode -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.01836522994563] Failed to read output from testmodel.py, exit status != 0: 0.43881799979135394 0.45252322800000006 0.05581341200000001 Calling exit ...