Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_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.00146/0.00146, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001796/0.001796, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.032/1.032, allocations: 177.2 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/package.mo): time 0.1284/0.1284, allocations: 24.15 MB / 284.4 MB, free: 5.094 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0/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_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_BusinessSimulation.Examples.LookupFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 361.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.29e-05, allocations: 5.547 kB / 361.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.005283/0.005295, allocations: 6.513 MB / 368.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.007817, allocations: 2.4 MB / 370.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.008129, allocations: 35.75 kB / 370.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.00846, allocations: 178.4 kB / 370.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.00885, allocations: 194.5 kB / 371 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.009265, allocations: 339 kB / 371.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.009779, allocations: 0.7418 MB / 372 MB, free: 9.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.01009, allocations: 240.9 kB / 372.3 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006089/0.01069, allocations: 388 kB / 372.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.01084, allocations: 163.3 kB / 372.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.01089, allocations: 47.94 kB / 372.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.011, allocations: 79.92 kB / 372.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01111, allocations: 151.3 kB / 373.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.01121, allocations: 167.3 kB / 373.2 MB, free: 8.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.01164, allocations: 474 kB / 373.7 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.01164, allocations: 4 kB / 373.7 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01164, allocations: 0 / 373.7 MB, free: 7.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.01165, allocations: 0 / 373.7 MB, free: 7.652 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.0009779/0.01263, allocations: 1.043 MB / 374.8 MB, free: 6.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.01266, allocations: 8.75 kB / 374.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.01287, allocations: 135.4 kB / 374.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.01329, allocations: 448.3 kB / 375.3 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.01332, allocations: 29 kB / 375.4 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.01337, allocations: 40 kB / 375.4 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.0139, allocations: 0.7361 MB / 376.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01391, allocations: 0 / 376.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.01393, allocations: 16 kB / 376.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.01394, allocations: 8 kB / 376.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.01407, allocations: 92.45 kB / 376.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.015, allocations: 0.9151 MB / 377.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.01526, allocations: 130 kB / 377.3 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.0153, allocations: 35.34 kB / 377.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01533, allocations: 4 kB / 377.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.01535, allocations: 45.39 kB / 377.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.01535, allocations: 0 / 377.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002505/0.0156, allocations: 153.3 kB / 377.5 MB, free: 3.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.01574, allocations: 419.2 kB / 377.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.01612, allocations: 0.5853 MB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.01614, allocations: 29.7 kB / 378.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.01633, allocations: 379.2 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.01635, allocations: 39.67 kB / 379 MB, free: 1.973 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.01642, allocations: 63.25 kB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.01657, allocations: 0.5467 MB / 379.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.01661, allocations: 15.98 kB / 379.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.01682, allocations: 0.4932 MB / 380.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.224e-05/0.01691, allocations: 59 kB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01691, allocations: 0 / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001852/0.0171, allocations: 149.3 kB / 380.3 MB, free: 476 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.01711, allocations: 8.031 kB / 380.3 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01711, allocations: 3.938 kB / 380.3 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01713, allocations: 7.938 kB / 380.3 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.01723, allocations: 31.97 kB / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01723, allocations: 0 / 380.3 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01736, allocations: 31.92 kB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.01737, allocations: 4 kB / 380.4 MB, free: 388 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.0001161/0.01748, allocations: 180.4 kB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.01755, allocations: 71.62 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.01773, allocations: 123 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-06/0.01773, allocations: 4 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01774, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01774, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.01802, allocations: 276.8 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01802, allocations: 4 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.466e-05/0.0181, allocations: 31.91 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.0181, allocations: 4 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.01811, allocations: 0 / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01811, allocations: 4 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01811, allocations: 0 / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.01834, allocations: 410.6 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.01845, allocations: 93.48 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.01848, allocations: 8 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.01861, allocations: 19.98 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.01864, allocations: 15.97 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.01865, allocations: 4.234 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002092/0.01886, allocations: 382.8 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01886, allocations: 0 / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002479/0.01911, allocations: 103.7 kB / 382.1 MB, free: 14.62 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.0006615/0.01977, allocations: 346.7 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01992, allocations: 79.56 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01992, allocations: 0 / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.01998, allocations: 39.59 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.02043, allocations: 153 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.02138, allocations: 0.8319 MB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.02145, allocations: 129.2 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.02158, allocations: 59.33 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.02185, allocations: 226.1 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02185, allocations: 0 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of Templates: time 0.009878/0.03173, allocations: 7.556 MB / 391.5 MB, free: 5.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.120428094174713]