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.00107/0.00107, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001118/0.001118, allocations: 165 kB / 23.01 MB, free: 1.555 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 0.9745/0.9745, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.1035/0.1035, allocations: 24.13 MB / 284.1 MB, free: 5.254 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.623e-06/1.623e-06, allocations: 0 / 361.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.326e-05, allocations: 2.312 kB / 361.2 MB, free: 3.984 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.006009/0.006033, allocations: 6.623 MB / 367.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.00925, allocations: 2.4 MB / 370.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.0099, allocations: 35.69 kB / 370.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.01032, allocations: 174.5 kB / 370.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.01087, allocations: 194.5 kB / 370.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.01146, allocations: 339 kB / 370.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.01215, allocations: 0.7457 MB / 371.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003829/0.01253, allocations: 232.9 kB / 371.9 MB, free: 9.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003733/0.01291, allocations: 343 kB / 372.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.01306, allocations: 171.3 kB / 372.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.01312, allocations: 51.94 kB / 372.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.01325, allocations: 83.92 kB / 372.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.01337, allocations: 143.4 kB / 372.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.01349, allocations: 171.3 kB / 372.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.01403, allocations: 485.9 kB / 373.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01404, allocations: 0 / 373.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01404, allocations: 4 kB / 373.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.01405, allocations: 0 / 373.3 MB, free: 7.789 MB / 346.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.001013/0.01506, allocations: 1.028 MB / 374.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.0151, allocations: 16.69 kB / 374.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.01534, allocations: 135.3 kB / 374.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.01579, allocations: 435.1 kB / 374.9 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.01582, allocations: 37 kB / 375 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.01586, allocations: 40 kB / 375 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005755/0.01643, allocations: 0.7883 MB / 375.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01644, allocations: 4 kB / 375.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.01647, allocations: 16 kB / 375.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01648, allocations: 8 kB / 375.8 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.01669, allocations: 117.7 kB / 375.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.01782, allocations: 1.028 MB / 377 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.01816, allocations: 126.1 kB / 377.1 MB, free: 3.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.01822, allocations: 35.36 kB / 377.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.01825, allocations: 4 kB / 377.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.01828, allocations: 45.38 kB / 377.2 MB, free: 3.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.01828, allocations: 4 kB / 377.2 MB, free: 3.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003369/0.01862, allocations: 165.3 kB / 377.3 MB, free: 3.469 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.01876, allocations: 445 kB / 377.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.01924, allocations: 0.5972 MB / 378.4 MB, free: 2.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.01926, allocations: 29.7 kB / 378.4 MB, free: 2.277 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.01945, allocations: 383.2 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.01947, allocations: 35.84 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/0.01955, allocations: 59.27 kB / 378.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.0197, allocations: 0.5352 MB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.01976, allocations: 27.92 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.02, allocations: 0.5331 MB / 380 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.02013, allocations: 74.98 kB / 380 MB, free: 456 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02013, allocations: 0 / 380 MB, free: 456 kB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002202/0.02036, allocations: 149.3 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.02037, allocations: 7.984 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02038, allocations: 8.031 kB / 380.2 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.02039, allocations: 0 / 380.2 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.02052, allocations: 43.91 kB / 380.2 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.02053, allocations: 4 kB / 380.2 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.02066, allocations: 31.81 kB / 380.3 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.02067, allocations: 15.92 kB / 380.3 MB, free: 188 kB / 346.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.0001174/0.02079, allocations: 168.5 kB / 380.5 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.02087, allocations: 63.67 kB / 380.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.02107, allocations: 134.9 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.02108, allocations: 0 / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.02108, allocations: 0 / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.02109, allocations: 4 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.02144, allocations: 364.3 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.02144, allocations: 0 / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.974e-05/0.02153, allocations: 24.22 kB / 381 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.02153, allocations: 0 / 381 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.02154, allocations: 15.92 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.02154, allocations: 4 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02154, allocations: 0 / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.02182, allocations: 418.3 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.02195, allocations: 101.4 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.02198, allocations: 7.938 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.02212, allocations: 19.98 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.02216, allocations: 15.97 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.02217, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003103/0.02248, allocations: 419 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02248, allocations: 0 / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000291/0.02277, allocations: 103.6 kB / 382.1 MB, free: 14.29 MB / 362.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.0007399/0.02351, allocations: 348.6 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.0237, allocations: 79.58 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.02371, allocations: 4.062 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.02377, allocations: 43.61 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.02426, allocations: 138.7 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.02523, allocations: 0.8398 MB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.02532, allocations: 129.2 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001474/0.02546, allocations: 55.52 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.02554, allocations: 44.48 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02554, allocations: 0 / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Templates: time 0.009908/0.03545, allocations: 7.198 MB / 391 MB, free: 5.688 MB / 362.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 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1216435940004885]