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.001416/0.001416, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001787/0.001787, allocations: 218.8 kB / 23.01 MB, free: 4.609 MB / 14.72 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.1734/0.1734, allocations: 31.56 MB / 344.7 MB, free: 3.98 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.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: BusinessSimulation requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 74.22 kB / 482.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 60.71 MB / 0.5301 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.007732/0.3271, allocations: 7.121 MB / 0.537 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004206/0.3313, allocations: 2.382 MB / 0.5394 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.3326, allocations: 29.56 kB / 0.5394 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006171/0.3333, allocations: 170.1 kB / 0.5395 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007447/0.334, allocations: 189.8 kB / 0.5397 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.335, allocations: 366.4 kB / 0.5401 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.3358, allocations: 0.73 MB / 0.5408 GB, free: 212 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.3363, allocations: 250.7 kB / 0.541 GB, free: 40 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.3366, allocations: 252.2 kB / 0.5413 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3369, allocations: 247.9 kB / 0.5415 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.775e-05/0.337, allocations: 46.19 kB / 0.5416 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.3372, allocations: 97.33 kB / 0.5416 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.3373, allocations: 147 kB / 0.5418 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.3376, allocations: 296.2 kB / 0.5421 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.3385, allocations: 0.6486 MB / 0.5427 GB, free: 14.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3385, allocations: 0 / 0.5427 GB, free: 14.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3385, allocations: 1.344 kB / 0.5427 GB, free: 14.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.3385, allocations: 0 / 0.5427 GB, free: 14.81 MB / 398.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.001566/0.34, allocations: 0.954 MB / 0.5436 GB, free: 14.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3401, allocations: 9.469 kB / 0.5436 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.3404, allocations: 112.5 kB / 0.5438 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.3411, allocations: 438.1 kB / 0.5442 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.3412, allocations: 28.12 kB / 0.5442 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.3412, allocations: 35.38 kB / 0.5442 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.342, allocations: 477 kB / 0.5447 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3421, allocations: 0 / 0.5447 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.3421, allocations: 21.44 kB / 0.5447 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3421, allocations: 8.25 kB / 0.5447 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.3428, allocations: 253.4 kB / 0.545 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3447, allocations: 1.076 MB / 0.546 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.3454, allocations: 175 kB / 0.5462 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.3457, allocations: 78.78 kB / 0.5462 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3457, allocations: 2.469 kB / 0.5462 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3457, allocations: 41.38 kB / 0.5463 GB, free: 12.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.3457, allocations: 0 / 0.5463 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009472/0.3467, allocations: 307.2 kB / 0.5466 GB, free: 11.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002471/0.3469, allocations: 443.9 kB / 0.547 GB, free: 11.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.3477, allocations: 0.6468 MB / 0.5476 GB, free: 10.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.3478, allocations: 32.55 kB / 0.5477 GB, free: 10.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.348, allocations: 320.5 kB / 0.548 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3481, allocations: 44.05 kB / 0.548 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3482, allocations: 54.14 kB / 0.5481 GB, free: 10.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3484, allocations: 359.6 kB / 0.5484 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.3486, allocations: 75.81 kB / 0.5485 GB, free: 10.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.349, allocations: 190.5 kB / 0.5487 GB, free: 10.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.3494, allocations: 159.8 kB / 0.5488 GB, free: 9.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3494, allocations: 1.219 kB / 0.5488 GB, free: 9.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006375/0.3501, allocations: 246.8 kB / 0.5491 GB, free: 9.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3501, allocations: 4.188 kB / 0.5491 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3501, allocations: 1.562 kB / 0.5491 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3501, allocations: 5.25 kB / 0.5491 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.3504, allocations: 44.14 kB / 0.5491 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3504, allocations: 5.438 kB / 0.5491 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.3507, allocations: 46.91 kB / 0.5492 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3508, allocations: 5.188 kB / 0.5492 GB, free: 9.734 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.0002365/0.351, allocations: 175.6 kB / 0.5493 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3511, allocations: 60.5 kB / 0.5494 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005012/0.3516, allocations: 198.3 kB / 0.5496 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3516, allocations: 5.344 kB / 0.5496 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3516, allocations: 5.625 kB / 0.5496 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3516, allocations: 3.984 kB / 0.5496 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000616/0.3522, allocations: 442.7 kB / 0.55 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3522, allocations: 4.219 kB / 0.55 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.3524, allocations: 30.47 kB / 0.55 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3524, allocations: 1.406 kB / 0.55 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.3525, allocations: 5.344 kB / 0.5501 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3525, allocations: 13.16 kB / 0.5501 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3525, allocations: 9.109 kB / 0.5501 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.3531, allocations: 403.5 kB / 0.5505 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.3534, allocations: 97 kB / 0.5505 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.3534, allocations: 7.438 kB / 0.5506 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.3538, allocations: 45.11 kB / 0.5506 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.3538, allocations: 8.266 kB / 0.5506 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3539, allocations: 3.312 kB / 0.5506 GB, free: 8.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005593/0.3544, allocations: 466.8 kB / 0.5511 GB, free: 8.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3544, allocations: 0 / 0.5511 GB, free: 8.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004337/0.3548, allocations: 111.4 kB / 0.5512 GB, free: 8.332 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.001331/0.3562, allocations: 365.2 kB / 0.5515 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006/0.3568, allocations: 176 kB / 0.5517 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3568, allocations: 1.219 kB / 0.5517 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.357, allocations: 78.2 kB / 0.5518 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007862/0.3578, allocations: 136.8 kB / 0.5519 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3595, allocations: 0.9125 MB / 0.5528 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.36, allocations: 0.8896 MB / 0.5536 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3601, allocations: 43.48 kB / 0.5537 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3601, allocations: 0 / 0.5537 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.0115/0.3716, allocations: 6.703 MB / 0.5602 GB, free: 1.883 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 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.413523039082065] Failed to read output from testmodel.py, exit status != 0: 0.3810136441607028 0.39533146999999996 0.053695143 Calling exit ...