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.001174/0.001174, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009513/0.0009513, allocations: 177 kB / 23.36 MB, free: 1.129 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.9766/0.9766, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.1145/0.1145, allocations: 24.14 MB / 284.4 MB, free: 5.098 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.733e-06/1.733e-06, allocations: 0 / 308.4 MB, free: 8.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.573e-05, allocations: 2.969 kB / 308.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.007634/0.00766, allocations: 6.543 MB / 314.9 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.01105, allocations: 2.475 MB / 317.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006346/0.01169, allocations: 28.56 kB / 317.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.01209, allocations: 166.4 kB / 317.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.01253, allocations: 200.7 kB / 317.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.01307, allocations: 345.6 kB / 318.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.01364, allocations: 0.741 MB / 318.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.01397, allocations: 247 kB / 319.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006914/0.01466, allocations: 384 kB / 319.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.01482, allocations: 167.3 kB / 319.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.01487, allocations: 44 kB / 319.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.01499, allocations: 88.73 kB / 319.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.0151, allocations: 143.4 kB / 319.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.01521, allocations: 171.3 kB / 320.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.01569, allocations: 477.9 kB / 320.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01569, allocations: 0 / 320.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.0157, allocations: 0 / 320.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.0157, allocations: 0 / 320.5 MB, free: 12.64 MB / 298.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.000858/0.01656, allocations: 0.9161 MB / 321.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.0166, allocations: 8.75 kB / 321.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.01682, allocations: 99.84 kB / 321.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.01721, allocations: 397.5 kB / 321.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.01723, allocations: 29 kB / 322 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.01727, allocations: 40 kB / 322 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.01772, allocations: 0.7024 MB / 322.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01773, allocations: 4 kB / 322.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.01776, allocations: 16 kB / 322.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.01777, allocations: 8 kB / 322.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.01789, allocations: 86.72 kB / 322.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008257/0.01871, allocations: 0.6587 MB / 323.5 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.01896, allocations: 105 kB / 323.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.019, allocations: 33.7 kB / 323.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01902, allocations: 0 / 323.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.01903, allocations: 34.56 kB / 323.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.01904, allocations: 0 / 323.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001986/0.01923, allocations: 117.5 kB / 323.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.01935, allocations: 419.2 kB / 324.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.01973, allocations: 0.5253 MB / 324.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01974, allocations: 33.7 kB / 324.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.01985, allocations: 245.9 kB / 325 MB, free: 7.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.01987, allocations: 47.62 kB / 325 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.01993, allocations: 61.59 kB / 325.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.02001, allocations: 362.6 kB / 325.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.02005, allocations: 19.92 kB / 325.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.02021, allocations: 462.3 kB / 325.9 MB, free: 6.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.02044, allocations: 62.41 kB / 326 MB, free: 6.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02044, allocations: 0 / 326 MB, free: 6.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001342/0.02057, allocations: 109.6 kB / 326.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.02059, allocations: 4 kB / 326.1 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.02059, allocations: 0 / 326.1 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.0206, allocations: 4 kB / 326.1 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.0207, allocations: 39.91 kB / 326.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.02071, allocations: 0 / 326.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.02081, allocations: 31.91 kB / 326.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.02082, allocations: 4 kB / 326.2 MB, free: 6.496 MB / 298.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 9.514e-05/0.02091, allocations: 132.6 kB / 326.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.02096, allocations: 31.97 kB / 326.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.02111, allocations: 118.9 kB / 326.4 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.02111, allocations: 4 kB / 326.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02111, allocations: 4 kB / 326.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.02111, allocations: 0 / 326.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.02135, allocations: 237.5 kB / 326.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02135, allocations: 0 / 326.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.02142, allocations: 31.98 kB / 326.7 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.02142, allocations: 3.984 kB / 326.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.02143, allocations: 0 / 326.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.02143, allocations: 4.391 kB / 326.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.02143, allocations: 0 / 326.7 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.0216, allocations: 282.6 kB / 327 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.0217, allocations: 82.14 kB / 327.1 MB, free: 5.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.02174, allocations: 4 kB / 327.1 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.02186, allocations: 27.98 kB / 327.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.02189, allocations: 11.97 kB / 327.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.02189, allocations: 4 kB / 327.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.02206, allocations: 259.4 kB / 327.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02206, allocations: 0 / 327.4 MB, free: 5.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.02229, allocations: 107.6 kB / 327.5 MB, free: 5.117 MB / 298.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.0009136/0.0232, allocations: 452 kB / 327.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.02333, allocations: 72.73 kB / 328 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.02334, allocations: 4 kB / 328 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.02338, allocations: 32.83 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.02377, allocations: 151.4 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.02458, allocations: 0.8354 MB / 329 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.054e-05/0.02465, allocations: 121.2 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.02477, allocations: 63.66 kB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.02501, allocations: 197.2 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02501, allocations: 0 / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of Templates: time 0.01011/0.03512, allocations: 7.426 MB / 336.8 MB, free: 12.18 MB / 314.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: 2.910341734997928]