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.001674/0.001674, 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.00196/0.00196, allocations: 202.2 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.472/1.472, 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.2008/0.2008, allocations: 31.58 MB / 337.7 MB, free: 9.605 MB / 270.1 MB " [Timeout remaining time 179] 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.002197/0.002197, allocations: 72.06 kB / 472.6 MB, free: 6.141 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4157, allocations: 59.5 MB / 0.5196 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.009529/0.4252, allocations: 7.042 MB / 0.5265 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.4301, allocations: 2.262 MB / 0.5287 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.4317, allocations: 20.62 kB / 0.5287 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008335/0.4325, allocations: 170.4 kB / 0.5289 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009172/0.4334, allocations: 145.9 kB / 0.529 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.4346, allocations: 354.4 kB / 0.5293 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.4356, allocations: 0.7266 MB / 0.53 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.4361, allocations: 251.1 kB / 0.5303 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.4366, allocations: 242.8 kB / 0.5305 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.4369, allocations: 244.4 kB / 0.5308 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.437, allocations: 44.97 kB / 0.5308 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.4373, allocations: 87.08 kB / 0.5309 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.4374, allocations: 152.4 kB / 0.531 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.4377, allocations: 285.5 kB / 0.5313 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009518/0.4386, allocations: 0.6413 MB / 0.5319 GB, free: 0.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4386, allocations: 1.156 kB / 0.5319 GB, free: 0.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4386, allocations: 4 kB / 0.5319 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4387, allocations: 0.6562 kB / 0.5319 GB, free: 0.4961 MB / 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.001794/0.4405, allocations: 1.025 MB / 0.5329 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4405, allocations: 9 kB / 0.5329 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.4409, allocations: 103.8 kB / 0.533 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.4418, allocations: 0.499 MB / 0.5335 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.4418, allocations: 28.47 kB / 0.5336 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.4419, allocations: 34.69 kB / 0.5336 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.4428, allocations: 465.3 kB / 0.534 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4428, allocations: 0.5312 kB / 0.534 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.4429, allocations: 22.58 kB / 0.5341 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.4429, allocations: 12.78 kB / 0.5341 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.4437, allocations: 260.3 kB / 0.5343 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.4462, allocations: 1.12 MB / 0.5354 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007853/0.447, allocations: 170 kB / 0.5356 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.4472, allocations: 81.72 kB / 0.5356 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.4473, allocations: 2.047 kB / 0.5356 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.4473, allocations: 43.31 kB / 0.5357 GB, free: 14.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.375e-06/0.4473, allocations: 0 / 0.5357 GB, free: 14.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001114/0.4484, allocations: 301.6 kB / 0.536 GB, free: 13.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000307/0.4487, allocations: 442.4 kB / 0.5364 GB, free: 13.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4499, allocations: 0.6393 MB / 0.537 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4499, allocations: 31.92 kB / 0.5371 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.4502, allocations: 316.2 kB / 0.5374 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.4503, allocations: 46.95 kB / 0.5374 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.4504, allocations: 57.39 kB / 0.5375 GB, free: 12.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.4506, allocations: 356.7 kB / 0.5378 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.4509, allocations: 67.58 kB / 0.5379 GB, free: 12.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.4513, allocations: 191.1 kB / 0.538 GB, free: 12.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.4519, allocations: 157.1 kB / 0.5382 GB, free: 12.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4519, allocations: 0 / 0.5382 GB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007219/0.4526, allocations: 247.2 kB / 0.5384 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4526, allocations: 9.562 kB / 0.5384 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4526, allocations: 5.141 kB / 0.5384 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4526, allocations: 9.625 kB / 0.5384 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.4529, allocations: 38.61 kB / 0.5385 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4529, allocations: 1.094 kB / 0.5385 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.4533, allocations: 48.52 kB / 0.5385 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.4533, allocations: 9.859 kB / 0.5385 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.0002514/0.4536, allocations: 188.4 kB / 0.5387 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4537, allocations: 60.81 kB / 0.5388 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005511/0.4542, allocations: 185.3 kB / 0.539 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4542, allocations: 6.016 kB / 0.539 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4542, allocations: 5.094 kB / 0.539 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4542, allocations: 0.7031 kB / 0.539 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.4551, allocations: 483.6 kB / 0.5394 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4551, allocations: 1.344 kB / 0.5394 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.4553, allocations: 30.92 kB / 0.5395 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4553, allocations: 2.156 kB / 0.5395 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4553, allocations: 2.016 kB / 0.5395 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.4553, allocations: 5.578 kB / 0.5395 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4553, allocations: 1.062 kB / 0.5395 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007799/0.4561, allocations: 410.3 kB / 0.5399 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.4564, allocations: 171.7 kB / 0.54 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.4564, allocations: 3.781 kB / 0.54 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.4568, allocations: 42.3 kB / 0.5401 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.4569, allocations: 17.02 kB / 0.5401 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4569, allocations: 3.688 kB / 0.5401 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006489/0.4576, allocations: 457.9 kB / 0.5405 GB, free: 10.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4576, allocations: 0 / 0.5405 GB, free: 10.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000471/0.458, allocations: 105.3 kB / 0.5406 GB, free: 10.82 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.001372/0.4594, allocations: 354.1 kB / 0.541 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.4601, allocations: 161.6 kB / 0.5411 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.4601, allocations: 5.156 kB / 0.5411 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.4604, allocations: 85.41 kB / 0.5412 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.4612, allocations: 151.8 kB / 0.5413 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.463, allocations: 0.8724 MB / 0.5422 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.4636, allocations: 0.8892 MB / 0.5431 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.464, allocations: 69.11 kB / 0.5431 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4641, allocations: 41.58 kB / 0.5432 GB, free: 9.266 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4641, allocations: 0 / 0.5432 GB, free: 9.266 MB / 398.1 MB Notification: Performance of Templates: time 0.01415/0.4782, allocations: 6.482 MB / 0.5495 GB, free: 6.305 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 gbode -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.421302190050483] Failed to read output from testmodel.py, exit status != 0: 0.4878146518021822 0.502280174 0.060441239 Calling exit ...