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.002508/0.002508, allocations: 85.48 kB / 19.44 MB, free: 344 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.003069/0.003069, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.1873/0.1873, allocations: 24.12 MB / 283.7 MB, free: 5.312 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.452e-06/1.452e-06, allocations: 3.938 kB / 360.4 MB, free: 4.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.69e-05, allocations: 2.312 kB / 360.5 MB, free: 4.395 MB / 330.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.01034/0.01037, allocations: 6.584 MB / 367 MB, free: 13.78 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004854/0.01522, allocations: 2.377 MB / 369.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.0162, allocations: 31.75 kB / 369.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.01675, allocations: 166.5 kB / 369.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006564/0.01741, allocations: 206.5 kB / 369.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.01826, allocations: 335 kB / 370.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000912/0.01917, allocations: 0.7341 MB / 370.9 MB, free: 9.934 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004869/0.01965, allocations: 248.9 kB / 371.1 MB, free: 9.688 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.02015, allocations: 343 kB / 371.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.0204, allocations: 167.3 kB / 371.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.05e-05/0.02049, allocations: 44 kB / 371.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.02068, allocations: 91.89 kB / 371.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.02087, allocations: 151.3 kB / 371.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.02108, allocations: 167.3 kB / 372.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.02221, allocations: 0.6422 MB / 372.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.02221, allocations: 0 / 372.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02221, allocations: 0 / 372.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.02222, allocations: 0 / 372.7 MB, free: 8.098 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.001728/0.02395, allocations: 1.078 MB / 373.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.02399, allocations: 8.75 kB / 373.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.02436, allocations: 135.4 kB / 373.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.02511, allocations: 447.1 kB / 374.4 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.02515, allocations: 29 kB / 374.4 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.02522, allocations: 43.94 kB / 374.4 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.02634, allocations: 0.8501 MB / 375.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.02636, allocations: 4 kB / 375.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.0264, allocations: 20 kB / 375.3 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.02641, allocations: 11.94 kB / 375.3 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006185/0.02703, allocations: 234.4 kB / 375.5 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.02906, allocations: 1.126 MB / 376.7 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/0.02978, allocations: 186 kB / 376.8 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.02998, allocations: 71.33 kB / 376.9 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.03001, allocations: 4 kB / 376.9 MB, free: 3.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.03006, allocations: 45.33 kB / 377 MB, free: 3.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.03007, allocations: 0 / 377 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008366/0.0309, allocations: 273.4 kB / 377.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003278/0.03123, allocations: 441 kB / 377.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/0.03221, allocations: 0.7261 MB / 378.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.03225, allocations: 33.69 kB / 378.4 MB, free: 1.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.03262, allocations: 391.2 kB / 378.8 MB, free: 1.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.03266, allocations: 31.7 kB / 378.8 MB, free: 1.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.0328, allocations: 75.19 kB / 378.9 MB, free: 1.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003576/0.03316, allocations: 0.5508 MB / 379.5 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.03336, allocations: 59.95 kB / 379.5 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/0.03424, allocations: 0.5762 MB / 380.1 MB, free: 76 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.03466, allocations: 146.9 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.03466, allocations: 0 / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006104/0.03527, allocations: 233.1 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.03529, allocations: 8 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.0353, allocations: 0 / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.03531, allocations: 0 / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.03555, allocations: 31.97 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.03556, allocations: 4.312 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.03584, allocations: 35.95 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.03587, allocations: 11.88 kB / 380.6 MB, free: 15.59 MB / 362.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.0002778/0.03615, allocations: 208.5 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.03627, allocations: 63.62 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.03676, allocations: 178.9 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.03677, allocations: 4 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.03677, allocations: 3.938 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.03677, allocations: 4 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.03746, allocations: 448.3 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.03746, allocations: 3.938 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.03764, allocations: 27.97 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.03765, allocations: 4 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.03767, allocations: 4 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.03767, allocations: 4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.03768, allocations: 4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.03841, allocations: 482.6 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.03867, allocations: 101.5 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.03873, allocations: 4 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.03904, allocations: 23.98 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.0391, allocations: 15.97 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.03911, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000623/0.03974, allocations: 479 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03974, allocations: 0 / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004721/0.04021, allocations: 107.7 kB / 382.7 MB, free: 13.4 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.002542/0.04275, allocations: 396.4 kB / 383.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.04334, allocations: 155.5 kB / 383.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.04335, allocations: 4 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.04358, allocations: 87.64 kB / 383.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.04448, allocations: 137.8 kB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.04626, allocations: 0.8822 MB / 384.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.04661, allocations: 292 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002378/0.04684, allocations: 63.66 kB / 384.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.04696, allocations: 40.48 kB / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.04696, allocations: 0 / 384.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of Templates: time 0.01608/0.06304, allocations: 7.183 MB / 391.9 MB, free: 4.473 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: 5.105327303986996]