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.001444/0.001444, allocations: 92.7 kB / 19.44 MB, free: 328 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.001611/0.001611, allocations: 161.3 kB / 22.75 MB, free: 1.66 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.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.1761/0.1761, allocations: 24.13 MB / 283.7 MB, free: 5.293 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.753e-06/1.753e-06, allocations: 0 / 360.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.072e-05, allocations: 6.141 kB / 360.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.01028/0.01031, allocations: 6.451 MB / 366.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.01622, allocations: 2.369 MB / 369.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.01752, allocations: 31.69 kB / 369.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007946/0.01831, allocations: 174.4 kB / 369.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.01941, allocations: 198.5 kB / 369.7 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.02063, allocations: 339.1 kB / 370 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.02192, allocations: 0.7341 MB / 370.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.02261, allocations: 241 kB / 371 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.02332, allocations: 354.9 kB / 371.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.02363, allocations: 163.3 kB / 371.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.02375, allocations: 44 kB / 371.5 MB, free: 8.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.024, allocations: 91.91 kB / 371.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.02423, allocations: 151.3 kB / 371.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.02451, allocations: 167.4 kB / 371.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.02573, allocations: 0.6383 MB / 372.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.02575, allocations: 4 kB / 372.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02575, allocations: 0 / 372.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.02579, allocations: 3.938 kB / 372.6 MB, free: 7.043 MB / 298.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.002645/0.02843, allocations: 0.9437 MB / 373.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.02849, allocations: 16.75 kB / 373.5 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.02904, allocations: 131.4 kB / 373.7 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.03023, allocations: 452.2 kB / 374.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.03029, allocations: 29 kB / 374.1 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/0.03038, allocations: 40 kB / 374.2 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.03203, allocations: 0.8215 MB / 375 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.03205, allocations: 0 / 375 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.0321, allocations: 16 kB / 375 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.03212, allocations: 12 kB / 375 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.03303, allocations: 258.4 kB / 375.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.03545, allocations: 0.94 MB / 376.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.03632, allocations: 169 kB / 376.4 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.0366, allocations: 77.66 kB / 376.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.03663, allocations: 4 kB / 376.4 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.03667, allocations: 42.56 kB / 376.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.03667, allocations: 0 / 376.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.001106/0.03778, allocations: 301.4 kB / 376.8 MB, free: 2.543 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000322/0.0381, allocations: 441 kB / 377.2 MB, free: 2.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.03914, allocations: 0.6527 MB / 377.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.03918, allocations: 33.64 kB / 377.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.0395, allocations: 324.5 kB / 378.2 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.03954, allocations: 35.69 kB / 378.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.03967, allocations: 57.61 kB / 378.3 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.0399, allocations: 362.7 kB / 378.7 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.0402, allocations: 71.89 kB / 378.7 MB, free: 460 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.04088, allocations: 0.5405 MB / 379.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.04144, allocations: 158.4 kB / 379.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.04145, allocations: 0 / 379.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007766/0.04222, allocations: 257.4 kB / 379.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.04225, allocations: 8 kB / 379.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.04226, allocations: 0 / 379.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.04228, allocations: 0 / 379.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.04255, allocations: 47.89 kB / 379.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.04256, allocations: 4 kB / 379.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.04295, allocations: 39.89 kB / 379.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.04298, allocations: 15.94 kB / 379.8 MB, free: 15.24 MB / 314.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.0002878/0.04326, allocations: 177.8 kB / 380 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.04342, allocations: 67.58 kB / 380 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000579/0.04399, allocations: 186.9 kB / 380.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.044, allocations: 0 / 380.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.04401, allocations: 4 kB / 380.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.04401, allocations: 3.984 kB / 380.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006051/0.04462, allocations: 356.9 kB / 380.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.04462, allocations: 0 / 380.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.04485, allocations: 39.95 kB / 380.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.04486, allocations: 7.938 kB / 380.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.04487, allocations: 0 / 380.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.04487, allocations: 0 / 380.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.04487, allocations: 0 / 380.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008174/0.04569, allocations: 414.2 kB / 381 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.04607, allocations: 97.48 kB / 381.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.04614, allocations: 8 kB / 381.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.04653, allocations: 35.95 kB / 381.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.0466, allocations: 7.984 kB / 381.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.04661, allocations: 4 kB / 381.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006508/0.04726, allocations: 467 kB / 381.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04726, allocations: 7.938 kB / 381.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004979/0.04776, allocations: 99.67 kB / 381.7 MB, free: 13.24 MB / 314.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.001797/0.04956, allocations: 383.2 kB / 382.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.05025, allocations: 163.8 kB / 382.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.05025, allocations: 0 / 382.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.05054, allocations: 83.86 kB / 382.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.05145, allocations: 146.1 kB / 382.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.05342, allocations: 0.9118 MB / 383.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.05378, allocations: 288.1 kB / 383.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002708/0.05405, allocations: 71.45 kB / 383.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.05418, allocations: 36.5 kB / 383.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05418, allocations: 0 / 383.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of Templates: time 0.01574/0.06992, allocations: 7.189 MB / 391 MB, free: 4.301 MB / 314.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 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.786894228076562]