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.001769/0.001769, allocations: 88.72 kB / 19.44 MB, free: 356 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.00222/0.00222, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.5/1.5, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.1768/0.1768, allocations: 24.12 MB / 283.7 MB, free: 5.297 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 2.725e-06/2.725e-06, allocations: 0 / 360.4 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.905e-05, allocations: 2.312 kB / 360.4 MB, free: 4.367 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.01036/0.0104, allocations: 6.447 MB / 366.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005482/0.01588, allocations: 2.373 MB / 369.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.01688, allocations: 35.69 kB / 369.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.01756, allocations: 170.4 kB / 369.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009178/0.01848, allocations: 202.2 kB / 369.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.01966, allocations: 335.1 kB / 370 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.02105, allocations: 0.7379 MB / 370.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007006/0.02175, allocations: 240.9 kB / 371 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007288/0.02248, allocations: 346.9 kB / 371.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.02301, allocations: 167.3 kB / 371.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.02313, allocations: 48 kB / 371.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.02336, allocations: 87.91 kB / 371.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.02356, allocations: 151.3 kB / 371.7 MB, free: 9.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.02382, allocations: 163.4 kB / 371.9 MB, free: 8.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.02482, allocations: 0.6422 MB / 372.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.02483, allocations: 0 / 372.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.02483, allocations: 0 / 372.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.313e-05/0.02486, allocations: 0 / 372.6 MB, free: 8.219 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.002035/0.0269, allocations: 0.9515 MB / 373.5 MB, free: 7.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.02694, allocations: 8.75 kB / 373.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.02741, allocations: 139.3 kB / 373.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.02842, allocations: 460.2 kB / 374.1 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.02846, allocations: 25 kB / 374.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.02854, allocations: 44 kB / 374.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.0298, allocations: 0.8176 MB / 375 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.02982, allocations: 3.938 kB / 375 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.02986, allocations: 20 kB / 375 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.02987, allocations: 8 kB / 375 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007855/0.03066, allocations: 254.4 kB / 375.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.03271, allocations: 0.9399 MB / 376.2 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.03349, allocations: 169.1 kB / 376.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.03377, allocations: 73.61 kB / 376.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.0338, allocations: 4 kB / 376.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.03384, allocations: 42.56 kB / 376.5 MB, free: 4.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.03385, allocations: 0 / 376.5 MB, free: 4.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001054/0.0349, allocations: 305.4 kB / 376.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00031/0.03521, allocations: 444.9 kB / 377.2 MB, free: 3.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009514/0.03616, allocations: 0.6449 MB / 377.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.0362, allocations: 33.7 kB / 377.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.03651, allocations: 324.4 kB / 378.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.03656, allocations: 31.7 kB / 378.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.03669, allocations: 61.61 kB / 378.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004645/0.03715, allocations: 362.7 kB / 378.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.03743, allocations: 71.88 kB / 378.7 MB, free: 1.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006512/0.03808, allocations: 0.5374 MB / 379.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.03862, allocations: 158.4 kB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.03863, allocations: 4 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000745/0.03937, allocations: 253.2 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.03939, allocations: 5.719 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.0394, allocations: 0 / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.03942, allocations: 4 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.0397, allocations: 43.91 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.03971, allocations: 0 / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.04009, allocations: 47.84 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.04011, allocations: 15.92 kB / 379.8 MB, free: 424 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.0002556/0.04037, allocations: 177.8 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.04051, allocations: 59.62 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005762/0.04108, allocations: 191.1 kB / 380.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.04109, allocations: 7.984 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0411, allocations: 0 / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.0411, allocations: 0 / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.0417, allocations: 364.9 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0417, allocations: 0 / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.04192, allocations: 31.97 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.04192, allocations: 0 / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.04194, allocations: 3.984 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.04195, allocations: 8 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.04195, allocations: 0 / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/0.04274, allocations: 414.2 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.04298, allocations: 97.5 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.308e-05/0.04304, allocations: 4 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.04343, allocations: 39.95 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.0435, allocations: 7.969 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.04351, allocations: 8 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006291/0.04414, allocations: 463 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04414, allocations: 4 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004643/0.0446, allocations: 107.7 kB / 381.7 MB, free: 14.4 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.001635/0.04624, allocations: 374 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.04688, allocations: 175.6 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.04688, allocations: 4 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.04716, allocations: 79.92 kB / 382.3 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.0009335/0.0481, allocations: 139.1 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.04983, allocations: 0.8979 MB / 383.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.05019, allocations: 296 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.05044, allocations: 67.45 kB / 383.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.05056, allocations: 44.48 kB / 383.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.05056, allocations: 0 / 383.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.01582/0.06638, allocations: 7.197 MB / 391 MB, free: 5.453 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=480 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.920701572904363]