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.0007562/0.0007562, allocations: 96.7 kB / 20.21 MB, free: 4.223 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.0007333/0.0007333, allocations: 157.7 kB / 23.52 MB, free: 0.9141 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.8582/0.8582, allocations: 177.2 MB / 203.9 MB, free: 5.594 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.09725/0.09725, allocations: 24.13 MB / 284.5 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 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.172e-06/1.172e-06, allocations: 0 / 361.2 MB, free: 4.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.63e-05, allocations: 2.312 kB / 361.2 MB, free: 4.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.005055/0.005072, allocations: 6.451 MB / 367.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.007884, allocations: 2.373 MB / 370.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004595/0.008343, allocations: 35.69 kB / 370.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.008724, allocations: 170.5 kB / 370.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.009185, allocations: 198.5 kB / 370.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.009705, allocations: 339 kB / 370.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.01024, allocations: 0.7379 MB / 371.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.01056, allocations: 244.8 kB / 371.8 MB, free: 9.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.01085, allocations: 339 kB / 372.1 MB, free: 9.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.01098, allocations: 171.3 kB / 372.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.01102, allocations: 44 kB / 372.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.01114, allocations: 87.91 kB / 372.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.01125, allocations: 151.3 kB / 372.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.01136, allocations: 167.3 kB / 372.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.01185, allocations: 0.6422 MB / 373.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.01186, allocations: 4 kB / 373.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01186, allocations: 0 / 373.3 MB, free: 8.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01186, allocations: 4 kB / 373.3 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.0009129/0.01277, allocations: 0.9398 MB / 374.3 MB, free: 7.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01281, allocations: 12.75 kB / 374.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.01301, allocations: 131.4 kB / 374.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.01346, allocations: 464.2 kB / 374.9 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.01349, allocations: 29 kB / 374.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.01352, allocations: 40 kB / 374.9 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.01413, allocations: 0.8176 MB / 375.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01414, allocations: 3.984 kB / 375.8 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.01417, allocations: 16 kB / 375.8 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.01418, allocations: 11.94 kB / 375.8 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.01455, allocations: 258.4 kB / 376 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.01553, allocations: 0.9361 MB / 377 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.01592, allocations: 177 kB / 377.2 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.01605, allocations: 77.66 kB / 377.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.01607, allocations: 0 / 377.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.01609, allocations: 38.56 kB / 377.3 MB, free: 4.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.01609, allocations: 4 kB / 377.3 MB, free: 4.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000518/0.01661, allocations: 301.2 kB / 377.6 MB, free: 3.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.01674, allocations: 444.9 kB / 378 MB, free: 3.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.01723, allocations: 0.6449 MB / 378.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.01725, allocations: 29.7 kB / 378.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.0174, allocations: 324.5 kB / 379 MB, free: 2.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.01742, allocations: 35.69 kB / 379 MB, free: 2.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.01749, allocations: 57.55 kB / 379.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.01759, allocations: 366.7 kB / 379.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.01773, allocations: 71.94 kB / 379.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.01801, allocations: 0.5374 MB / 380 MB, free: 0.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.01827, allocations: 158.6 kB / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.01827, allocations: 0 / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003582/0.01863, allocations: 253.1 kB / 380.4 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.01864, allocations: 8 kB / 380.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01865, allocations: 0 / 380.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01866, allocations: 0 / 380.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.01878, allocations: 47.98 kB / 380.5 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01878, allocations: 320 / 380.5 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.01893, allocations: 39.91 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.01895, allocations: 15.92 kB / 380.6 MB, free: 440 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.0001501/0.0191, allocations: 185.7 kB / 380.7 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.01916, allocations: 63.62 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.01947, allocations: 199 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01947, allocations: 240 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.01948, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01948, allocations: 4 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.01979, allocations: 352.9 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.01979, allocations: 4 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.01988, allocations: 39.84 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01989, allocations: 4 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.0199, allocations: 4 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.0199, allocations: 3.984 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.0199, allocations: 0 / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.02026, allocations: 398.3 kB / 381.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.02039, allocations: 101.5 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.02042, allocations: 8 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.02059, allocations: 39.95 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.02063, allocations: 11.92 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.02064, allocations: 7.984 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003352/0.02098, allocations: 463 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02098, allocations: 0 / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.02124, allocations: 107.7 kB / 382.5 MB, free: 14.41 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.0005961/0.02183, allocations: 391.6 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.02218, allocations: 171.8 kB / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.02218, allocations: 0 / 383.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.02232, allocations: 79.89 kB / 383.1 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.0004716/0.02279, allocations: 141.9 kB / 383.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/0.02369, allocations: 0.8979 MB / 384.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.02387, allocations: 292.1 kB / 384.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.02401, allocations: 71.64 kB / 384.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.02407, allocations: 40.48 kB / 384.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02407, allocations: 0 / 384.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of Templates: time 0.00819/0.03226, allocations: 7.188 MB / 391.8 MB, free: 5.465 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=480 -s cvode -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.817443946376443]