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.001259/0.001259, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001348/0.001348, allocations: 165.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.339/1.339, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.1637/0.1637, allocations: 24.13 MB / 283.3 MB, free: 9.016 MB / 270.1 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.122e-06/1.122e-06, allocations: 0 / 420.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.859e-05, allocations: 4.672 kB / 420.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.007466/0.007484, allocations: 6.437 MB / 427 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.01092, allocations: 2.365 MB / 429.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003319/0.01125, allocations: 31.75 kB / 429.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.01165, allocations: 178.4 kB / 429.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.01214, allocations: 198.6 kB / 429.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006121/0.01275, allocations: 330.5 kB / 430.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.01349, allocations: 0.7534 MB / 430.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003961/0.01388, allocations: 244.9 kB / 431.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.01428, allocations: 342.9 kB / 431.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.01448, allocations: 167.3 kB / 431.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.455e-05/0.01455, allocations: 48 kB / 431.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.01471, allocations: 91.89 kB / 431.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.01487, allocations: 151.3 kB / 431.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.01504, allocations: 159.4 kB / 432 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.01572, allocations: 0.6461 MB / 432.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01572, allocations: 0 / 432.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01572, allocations: 0 / 432.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.01573, allocations: 0 / 432.7 MB, free: 0.5195 MB / 350.1 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.001394/0.01712, allocations: 0.9476 MB / 433.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.01715, allocations: 8.75 kB / 433.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.01742, allocations: 107.4 kB / 433.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.01808, allocations: 436.2 kB / 434.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.01811, allocations: 25 kB / 434.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.01816, allocations: 36 kB / 434.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009963/0.01916, allocations: 0.8254 MB / 435 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01917, allocations: 0 / 435 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.01921, allocations: 20 kB / 435 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.01922, allocations: 8 kB / 435.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007105/0.01994, allocations: 262.3 kB / 435.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.02153, allocations: 0.9166 MB / 436.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007203/0.02225, allocations: 173 kB / 436.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.0225, allocations: 77.66 kB / 436.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.02253, allocations: 4 kB / 436.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.02256, allocations: 46.5 kB / 436.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.02256, allocations: 0 / 436.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000956/0.02351, allocations: 289.3 kB / 436.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/0.02373, allocations: 448.9 kB / 437.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.02448, allocations: 0.6411 MB / 437.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.02451, allocations: 33.7 kB / 437.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.02475, allocations: 324.5 kB / 438.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.02479, allocations: 39.83 kB / 438.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.02489, allocations: 57.61 kB / 438.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.02506, allocations: 362.7 kB / 438.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.02532, allocations: 67.94 kB / 438.7 MB, free: 10 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.02585, allocations: 0.5365 MB / 439.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.02637, allocations: 170.3 kB / 439.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02638, allocations: 4 kB / 439.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006865/0.02706, allocations: 249.2 kB / 439.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.02708, allocations: 4 kB / 439.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.02708, allocations: 4 kB / 439.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.0271, allocations: 0 / 439.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.02735, allocations: 39.95 kB / 439.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.02736, allocations: 0 / 439.7 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.0277, allocations: 47.84 kB / 439.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.02773, allocations: 15.92 kB / 439.8 MB, free: 8.793 MB / 366.1 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.0002164/0.02794, allocations: 181.8 kB / 440 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.02805, allocations: 63.58 kB / 440 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.02857, allocations: 191.2 kB / 440.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.02857, allocations: 4 kB / 440.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02858, allocations: 0 / 440.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.02858, allocations: 0 / 440.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.02905, allocations: 361 kB / 440.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.02905, allocations: 0 / 440.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.02926, allocations: 35.91 kB / 440.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.02927, allocations: 0 / 440.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.02928, allocations: 3.984 kB / 440.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.02929, allocations: 4 kB / 440.6 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02929, allocations: 0 / 440.6 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.02998, allocations: 406.2 kB / 441 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.03018, allocations: 93.53 kB / 441.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.03024, allocations: 4 kB / 441.1 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.03063, allocations: 40.19 kB / 441.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.03068, allocations: 12.02 kB / 441.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.0307, allocations: 7.922 kB / 441.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005317/0.03123, allocations: 467 kB / 441.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03123, allocations: 4 kB / 441.6 MB, free: 6.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.03165, allocations: 111.6 kB / 441.8 MB, free: 6.781 MB / 366.1 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.001321/0.03297, allocations: 378.6 kB / 442.1 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005988/0.03357, allocations: 171.8 kB / 442.3 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.03357, allocations: 0 / 442.3 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.03384, allocations: 79.88 kB / 442.4 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.03463, allocations: 127.7 kB / 442.5 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.03601, allocations: 0.8828 MB / 443.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.03628, allocations: 292.1 kB / 443.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.03648, allocations: 63.66 kB / 443.7 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.03658, allocations: 40.48 kB / 443.8 MB, free: 4.852 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.03658, allocations: 0 / 443.8 MB, free: 4.852 MB / 366.1 MB Notification: Performance of Templates: time 0.1469/0.1835, allocations: 7.157 MB / 450.9 MB, free: 38.11 MB / 366.1 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.3903361186385155] Failed to read output from testmodel.py, exit status != 0: 0.19080588966608047 0.201937744 0.18378876200000002 Calling exit ...