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.0011/0.0011, allocations: 92.22 kB / 19.65 MB, free: 276 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.0013/0.0013, allocations: 173 kB / 23.02 MB, free: 1.547 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.9486/0.9486, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.101/0.101, allocations: 24.14 MB / 284.1 MB, free: 5.238 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.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.078e-05, allocations: 9.406 kB / 361.2 MB, free: 4.02 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.006052/0.006083, allocations: 6.638 MB / 367.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.00903, allocations: 2.404 MB / 370.2 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005239/0.009554, allocations: 31.69 kB / 370.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.009927, allocations: 170.5 kB / 370.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.01045, allocations: 202.5 kB / 370.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.01099, allocations: 339.1 kB / 371 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.01158, allocations: 0.7302 MB / 371.7 MB, free: 9.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.01192, allocations: 244.8 kB / 371.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006721/0.01259, allocations: 401.9 kB / 372.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.01274, allocations: 163.3 kB / 372.5 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.01279, allocations: 44 kB / 372.5 MB, free: 8.66 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.01291, allocations: 83.92 kB / 372.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.01303, allocations: 155.3 kB / 372.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.01314, allocations: 163.3 kB / 372.9 MB, free: 8.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.01363, allocations: 478 kB / 373.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01363, allocations: 0 / 373.4 MB, free: 7.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01363, allocations: 3.938 kB / 373.4 MB, free: 7.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.01364, allocations: 0 / 373.4 MB, free: 7.793 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.000938/0.01458, allocations: 1.032 MB / 374.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.01461, allocations: 8.75 kB / 374.4 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.01484, allocations: 135.4 kB / 374.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.01528, allocations: 464.2 kB / 375 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.0153, allocations: 25 kB / 375 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.01534, allocations: 40 kB / 375.1 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005909/0.01593, allocations: 0.7518 MB / 375.8 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01595, allocations: 0 / 375.8 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.01597, allocations: 16 kB / 375.8 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01598, allocations: 8 kB / 375.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.01618, allocations: 126.3 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.01728, allocations: 1.02 MB / 377 MB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.0176, allocations: 122.1 kB / 377.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.01766, allocations: 39.36 kB / 377.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.01767, allocations: 0 / 377.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.0177, allocations: 49.31 kB / 377.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.0177, allocations: 0 / 377.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003084/0.01801, allocations: 169.3 kB / 377.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.01813, allocations: 419.2 kB / 377.8 MB, free: 3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.01868, allocations: 0.5933 MB / 378.4 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.01871, allocations: 33.7 kB / 378.4 MB, free: 2.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.01887, allocations: 371.2 kB / 378.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.01889, allocations: 43.77 kB / 378.8 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.01896, allocations: 59.27 kB / 378.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01909, allocations: 0.5352 MB / 379.4 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.01914, allocations: 19.98 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.01933, allocations: 0.5038 MB / 379.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01944, allocations: 67.05 kB / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01944, allocations: 0 / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002014/0.01964, allocations: 161.2 kB / 380.1 MB, free: 424 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01965, allocations: 4 kB / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01966, allocations: 0 / 380.1 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01967, allocations: 4 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01978, allocations: 36 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01979, allocations: 0 / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01992, allocations: 39.8 kB / 380.2 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01993, allocations: 11.88 kB / 380.2 MB, free: 328 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.0001079/0.02004, allocations: 168.6 kB / 380.4 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.02009, allocations: 63.86 kB / 380.5 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.02029, allocations: 135 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.02029, allocations: 7.922 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.0203, allocations: 4 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.0203, allocations: 3.984 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.02062, allocations: 360.3 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02062, allocations: 0 / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.02071, allocations: 27.97 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.02071, allocations: 0 / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.02072, allocations: 4 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.02072, allocations: 0 / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.02072, allocations: 4 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.02096, allocations: 422.6 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.02107, allocations: 97.44 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.0211, allocations: 4 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.02123, allocations: 27.91 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.02128, allocations: 11.98 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.02128, allocations: 4 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005301/0.02181, allocations: 407 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02181, allocations: 0 / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000265/0.02208, allocations: 107.7 kB / 382.1 MB, free: 14.43 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.0008311/0.02291, allocations: 340.4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.02321, allocations: 75.58 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.02321, allocations: 4 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.223e-05/0.02327, allocations: 43.67 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.02383, allocations: 152.7 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.02499, allocations: 0.8397 MB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.02508, allocations: 125.2 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.02528, allocations: 59.52 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.02538, allocations: 40.48 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.735e-06/0.02538, allocations: 0 / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.01106/0.03644, allocations: 7.521 MB / 391.2 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.0717282039113343]