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.001043/0.001043, 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.001259/0.001259, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.004/1.004, allocations: 177.2 MB / 203.4 MB, free: 5.645 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.1163/0.1163, allocations: 24.14 MB / 284.1 MB, free: 5.258 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.764e-06/1.764e-06, allocations: 0 / 361.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.498e-05, allocations: 12.84 kB / 361.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.00881/0.008845, allocations: 6.627 MB / 367.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.01231, allocations: 2.408 MB / 370.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.01291, allocations: 27.75 kB / 370.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.01338, allocations: 170.4 kB / 370.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000605/0.01398, allocations: 202.5 kB / 370.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.01468, allocations: 335 kB / 370.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007771/0.01546, allocations: 0.7379 MB / 371.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.01593, allocations: 244.8 kB / 371.9 MB, free: 9.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.01676, allocations: 392.2 kB / 372.3 MB, free: 8.852 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.01695, allocations: 167.3 kB / 372.5 MB, free: 8.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.01703, allocations: 48 kB / 372.5 MB, free: 8.641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.01719, allocations: 87.84 kB / 372.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.01734, allocations: 147.3 kB / 372.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.0175, allocations: 163.4 kB / 372.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.01815, allocations: 474 kB / 373.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01816, allocations: 0 / 373.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01816, allocations: 0 / 373.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.01816, allocations: 0 / 373.4 MB, free: 7.785 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.001257/0.01942, allocations: 1.039 MB / 374.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.01946, allocations: 12.75 kB / 374.4 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003062/0.01977, allocations: 135.4 kB / 374.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/0.0204, allocations: 448.3 kB / 375 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.02043, allocations: 29 kB / 375 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.02049, allocations: 43.98 kB / 375.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.02125, allocations: 0.7478 MB / 375.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.02126, allocations: 4 kB / 375.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.0213, allocations: 16 kB / 375.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.02132, allocations: 12 kB / 375.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.0216, allocations: 126.3 kB / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.02306, allocations: 1.008 MB / 377 MB, free: 3.926 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.02342, allocations: 134 kB / 377.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.0235, allocations: 39.36 kB / 377.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.02353, allocations: 0 / 377.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.02356, allocations: 45.39 kB / 377.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.02356, allocations: 0 / 377.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004186/0.02398, allocations: 165.3 kB / 377.4 MB, free: 3.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.0241, allocations: 427.2 kB / 377.8 MB, free: 2.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.02473, allocations: 0.6012 MB / 378.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.02476, allocations: 29.7 kB / 378.4 MB, free: 2.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.02501, allocations: 375.2 kB / 378.8 MB, free: 1.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.02504, allocations: 43.77 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.02514, allocations: 59.27 kB / 378.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.02532, allocations: 0.5352 MB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.0254, allocations: 19.98 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.02568, allocations: 0.4894 MB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.02584, allocations: 82.98 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.02584, allocations: 0 / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003028/0.02615, allocations: 157.2 kB / 380.1 MB, free: 400 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.02616, allocations: 4 kB / 380.1 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.02617, allocations: 0 / 380.1 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.02618, allocations: 4 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.02636, allocations: 35.97 kB / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.02636, allocations: 0 / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.02649, allocations: 39.89 kB / 380.2 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.02651, allocations: 11.94 kB / 380.2 MB, free: 304 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.0001483/0.02665, allocations: 168.5 kB / 380.4 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.02676, allocations: 59.62 kB / 380.5 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.02705, allocations: 131 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.02705, allocations: 4.234 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.02706, allocations: 0 / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02706, allocations: 7.984 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.02752, allocations: 364.2 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.02752, allocations: 0 / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.02767, allocations: 31.91 kB / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.02768, allocations: 0 / 381 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.02769, allocations: 8 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.0277, allocations: 0 / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0277, allocations: 0 / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.02806, allocations: 418.6 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.02825, allocations: 101.4 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.02831, allocations: 8 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.02848, allocations: 19.97 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.02852, allocations: 15.92 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.02853, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003983/0.02893, allocations: 407 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02893, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004485/0.02938, allocations: 103.7 kB / 382 MB, free: 14.41 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.001024/0.0304, allocations: 347.5 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.03068, allocations: 75.58 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.03068, allocations: 0 / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.193e-05/0.03077, allocations: 39.61 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.03154, allocations: 153 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.03286, allocations: 0.8475 MB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.03297, allocations: 121.2 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.03317, allocations: 55.52 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.03328, allocations: 48.48 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03328, allocations: 0 / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.01201/0.04529, allocations: 7.516 MB / 391.2 MB, free: 5.484 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.259747417178005]