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.000851/0.000851, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009293/0.0009293, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.077/1.077, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.1105/0.1105, 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.994e-06/1.994e-06, allocations: 3.938 kB / 361.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.879e-05, allocations: 2.312 kB / 361.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.006003/0.006031, allocations: 6.521 MB / 368.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.009503, allocations: 2.4 MB / 370.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.01021, allocations: 27.75 kB / 370.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.01062, allocations: 170.4 kB / 370.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.01114, allocations: 202.5 kB / 371 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.01175, allocations: 339 kB / 371.3 MB, free: 9.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.0124, allocations: 0.7341 MB / 372 MB, free: 9.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.01277, allocations: 240.8 kB / 372.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007619/0.01354, allocations: 390.8 kB / 372.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.01371, allocations: 163.3 kB / 372.8 MB, free: 8.422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.01377, allocations: 44 kB / 372.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.01391, allocations: 87.91 kB / 372.9 MB, free: 8.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.01402, allocations: 151.3 kB / 373.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.01413, allocations: 159.3 kB / 373.2 MB, free: 7.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.01466, allocations: 481.9 kB / 373.7 MB, free: 7.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01467, allocations: 4 kB / 373.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01467, allocations: 0 / 373.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.01468, allocations: 4 kB / 373.7 MB, free: 7.508 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.0009243/0.0156, allocations: 1.035 MB / 374.7 MB, free: 6.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.01564, allocations: 12.75 kB / 374.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.01586, allocations: 135.3 kB / 374.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.01628, allocations: 448.3 kB / 375.3 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.0163, allocations: 29 kB / 375.4 MB, free: 5.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.01634, allocations: 44 kB / 375.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.01685, allocations: 0.7322 MB / 376.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.01686, allocations: 3.984 kB / 376.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.01688, allocations: 16 kB / 376.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.01689, allocations: 12 kB / 376.2 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.01702, allocations: 88.45 kB / 376.2 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.01799, allocations: 0.9189 MB / 377.2 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.01825, allocations: 126 kB / 377.3 MB, free: 3.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.01829, allocations: 31.38 kB / 377.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.01831, allocations: 11.97 kB / 377.3 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.01833, allocations: 41.39 kB / 377.4 MB, free: 3.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.01834, allocations: 0 / 377.4 MB, free: 3.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002428/0.01858, allocations: 157.3 kB / 377.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.0187, allocations: 419.2 kB / 377.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.01908, allocations: 0.5814 MB / 378.5 MB, free: 2.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.0191, allocations: 33.7 kB / 378.5 MB, free: 2.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.01929, allocations: 375.2 kB / 378.9 MB, free: 1.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.01931, allocations: 43.61 kB / 379 MB, free: 1.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.01938, allocations: 59.25 kB / 379 MB, free: 1.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01953, allocations: 0.5429 MB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.01957, allocations: 15.98 kB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.01978, allocations: 0.4932 MB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.01987, allocations: 70.97 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01988, allocations: 0 / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001783/0.02005, allocations: 141.3 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.02007, allocations: 8 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.02007, allocations: 0 / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.02008, allocations: 4.031 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.02019, allocations: 35.91 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.0202, allocations: 7.938 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.02031, allocations: 35.86 kB / 380.4 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.02032, allocations: 4 kB / 380.4 MB, free: 232 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.0001204/0.02044, allocations: 172.5 kB / 380.5 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.02052, allocations: 59.67 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.02069, allocations: 134.8 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.02069, allocations: 0 / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.0207, allocations: 0 / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.0207, allocations: 8 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.02099, allocations: 272.8 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.02099, allocations: 0 / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.02107, allocations: 23.98 kB / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.02107, allocations: 0 / 381 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.02109, allocations: 11.98 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02109, allocations: 4 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.02109, allocations: 3.938 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.02133, allocations: 406.7 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.02145, allocations: 105.4 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.02148, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.02161, allocations: 23.98 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.02164, allocations: 7.984 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.02165, allocations: 7.984 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000213/0.02186, allocations: 374.9 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02186, allocations: 4 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.02214, allocations: 107.7 kB / 382.1 MB, free: 14.47 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.0007443/0.02288, allocations: 347.2 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.02304, allocations: 75.56 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02304, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.02309, allocations: 43.66 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.02357, allocations: 157.2 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.02449, allocations: 0.8358 MB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.836e-05/0.02457, allocations: 125.2 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.02472, allocations: 59.31 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.02499, allocations: 226.1 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 6.22e-07/0.025, allocations: 0 / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.01127/0.03627, allocations: 7.552 MB / 391.5 MB, free: 5.363 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.2048251158557832]