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.0008957/0.0008957, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001882/0.001882, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.016/1.016, allocations: 177.1 MB / 204.5 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.1357/0.1357, allocations: 24.14 MB / 285.2 MB, free: 5.09 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.212e-06/1.212e-06, allocations: 0 / 362.4 MB, free: 3.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.157e-05, allocations: 2.312 kB / 362.4 MB, free: 3.727 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.005331/0.005342, allocations: 6.517 MB / 368.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.008268, allocations: 2.4 MB / 371.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.008787, allocations: 35.75 kB / 371.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.009158, allocations: 174.4 kB / 371.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.009633, allocations: 194.5 kB / 371.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.0103, allocations: 339 kB / 372.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.01087, allocations: 0.738 MB / 372.8 MB, free: 9.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.01122, allocations: 240.8 kB / 373 MB, free: 9.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.01186, allocations: 392.8 kB / 373.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.01201, allocations: 163.3 kB / 373.6 MB, free: 8.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.01206, allocations: 44 kB / 373.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.01218, allocations: 87.91 kB / 373.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.01229, allocations: 151.3 kB / 373.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.0124, allocations: 163.3 kB / 374 MB, free: 8.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.01284, allocations: 477.9 kB / 374.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.01284, allocations: 4 kB / 374.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01285, allocations: 0 / 374.5 MB, free: 7.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01285, allocations: 0 / 374.5 MB, free: 7.621 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.0009175/0.01377, allocations: 1.035 MB / 375.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.0138, allocations: 8.75 kB / 375.5 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.01402, allocations: 135.4 kB / 375.7 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.01446, allocations: 452.2 kB / 376.1 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.01448, allocations: 29 kB / 376.1 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.01452, allocations: 40 kB / 376.2 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.01501, allocations: 0.7361 MB / 376.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01502, allocations: 0 / 376.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.01505, allocations: 16 kB / 376.9 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.01506, allocations: 8 kB / 376.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.0152, allocations: 92.44 kB / 377 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/0.01613, allocations: 0.9228 MB / 377.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.0164, allocations: 126 kB / 378.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.01645, allocations: 31.36 kB / 378.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.01647, allocations: 4 kB / 378.1 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.01649, allocations: 45.39 kB / 378.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.584e-06/0.01649, allocations: 3.984 kB / 378.2 MB, free: 3.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002598/0.01675, allocations: 153.3 kB / 378.3 MB, free: 3.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.0169, allocations: 423.2 kB / 378.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.01728, allocations: 0.5853 MB / 379.3 MB, free: 2.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.0173, allocations: 29.7 kB / 379.3 MB, free: 2.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.01748, allocations: 375.2 kB / 379.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.01751, allocations: 39.62 kB / 379.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.01758, allocations: 67.23 kB / 379.8 MB, free: 1.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.01772, allocations: 0.539 MB / 380.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.01776, allocations: 15.98 kB / 380.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.01795, allocations: 0.4958 MB / 380.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-05/0.01805, allocations: 66.97 kB / 380.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01805, allocations: 0 / 380.9 MB, free: 0.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001762/0.01823, allocations: 149.2 kB / 381.1 MB, free: 440 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.01824, allocations: 10.53 kB / 381.1 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01825, allocations: 3.984 kB / 381.1 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.01825, allocations: 4 kB / 381.1 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01836, allocations: 31.92 kB / 381.1 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01836, allocations: 3.984 kB / 381.1 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01848, allocations: 35.88 kB / 381.2 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.01849, allocations: 0 / 381.2 MB, free: 352 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.0001045/0.0186, allocations: 176.4 kB / 381.3 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.01866, allocations: 75.56 kB / 381.4 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.01883, allocations: 119 kB / 381.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01883, allocations: 4 kB / 381.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01883, allocations: 3.938 kB / 381.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01884, allocations: 0 / 381.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.01911, allocations: 268.9 kB / 381.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01911, allocations: 0 / 381.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.01919, allocations: 31.97 kB / 381.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01919, allocations: 4 kB / 381.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.0192, allocations: 0 / 381.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.0192, allocations: 7.938 kB / 381.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.01921, allocations: 0 / 381.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.01943, allocations: 418.5 kB / 382.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.01954, allocations: 93.44 kB / 382.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.01957, allocations: 8 kB / 382.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.0197, allocations: 23.97 kB / 382.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.01974, allocations: 15.92 kB / 382.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.01974, allocations: 4 kB / 382.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.01996, allocations: 382.8 kB / 382.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01996, allocations: 0 / 382.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.02021, allocations: 99.67 kB / 382.8 MB, free: 14.59 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.0006251/0.02084, allocations: 337.7 kB / 383.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.02099, allocations: 75.56 kB / 383.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02099, allocations: 0 / 383.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.02104, allocations: 39.61 kB / 383.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.02149, allocations: 152.3 kB / 383.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/0.02231, allocations: 0.8397 MB / 384.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.02239, allocations: 125.2 kB / 384.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.02252, allocations: 59.33 kB / 384.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.02279, allocations: 230.1 kB / 384.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02279, allocations: 0 / 384.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.009556/0.03234, allocations: 7.663 MB / 392.3 MB, free: 5.344 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.238228288013488]