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.0007421/0.0007421, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007482/0.0007482, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.803/0.803, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.09256/0.09256, allocations: 24.12 MB / 284.1 MB, free: 5.492 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.342e-06/1.342e-06, allocations: 3.938 kB / 421.3 MB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.113e-05, allocations: 2.281 kB / 421.3 MB, free: 8.016 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.005166/0.005187, allocations: 6.446 MB / 427.8 MB, free: 1.539 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.007907, allocations: 2.357 MB / 430.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.008307, allocations: 31.75 kB / 430.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.008647, allocations: 178.4 kB / 430.3 MB, free: 14.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.009063, allocations: 202.5 kB / 430.5 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.009512, allocations: 331.1 kB / 430.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.009988, allocations: 0.7418 MB / 431.6 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003016/0.01029, allocations: 240.9 kB / 431.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.01055, allocations: 346.9 kB / 432.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.01069, allocations: 167.3 kB / 432.3 MB, free: 12.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.927e-05/0.01073, allocations: 48 kB / 432.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.01084, allocations: 87.91 kB / 432.5 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.01095, allocations: 147.3 kB / 432.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.01105, allocations: 163.4 kB / 432.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.01153, allocations: 0.6461 MB / 433.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.01153, allocations: 0 / 433.4 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.01153, allocations: 3.938 kB / 433.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.01154, allocations: 0 / 433.4 MB, free: 11.87 MB / 410.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.0009292/0.01247, allocations: 0.9476 MB / 434.4 MB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.0125, allocations: 8.75 kB / 434.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.01268, allocations: 103.4 kB / 434.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.01317, allocations: 440.2 kB / 434.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.01319, allocations: 25 kB / 434.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.01322, allocations: 36 kB / 435 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/0.0139, allocations: 0.8211 MB / 435.8 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01391, allocations: 0 / 435.8 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.01394, allocations: 20 kB / 435.8 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.01395, allocations: 8 kB / 435.8 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.01434, allocations: 262.3 kB / 436.1 MB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.01534, allocations: 0.9243 MB / 437 MB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.01576, allocations: 177 kB / 437.2 MB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.01588, allocations: 77.66 kB / 437.2 MB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.01591, allocations: 8 kB / 437.2 MB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.01593, allocations: 38.56 kB / 437.3 MB, free: 7.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.01593, allocations: 3.938 kB / 437.3 MB, free: 7.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005082/0.01644, allocations: 297.4 kB / 437.6 MB, free: 7.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.01656, allocations: 445 kB / 438 MB, free: 6.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.01703, allocations: 0.6488 MB / 438.7 MB, free: 6.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.01705, allocations: 33.7 kB / 438.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.01719, allocations: 320.5 kB / 439 MB, free: 5.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.01722, allocations: 39.64 kB / 439 MB, free: 5.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.01728, allocations: 53.66 kB / 439.1 MB, free: 5.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.01737, allocations: 362.7 kB / 439.5 MB, free: 5.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01751, allocations: 67.94 kB / 439.5 MB, free: 5.348 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.01778, allocations: 0.5413 MB / 440.1 MB, free: 4.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.01803, allocations: 158.4 kB / 440.2 MB, free: 4.504 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01804, allocations: 0 / 440.2 MB, free: 4.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003331/0.01837, allocations: 245.2 kB / 440.5 MB, free: 4.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01839, allocations: 4 kB / 440.5 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.01839, allocations: 4 kB / 440.5 MB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.0184, allocations: 0 / 440.5 MB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.01852, allocations: 43.89 kB / 440.5 MB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.01853, allocations: 0 / 440.5 MB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.01868, allocations: 55.84 kB / 440.6 MB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.0187, allocations: 7.938 kB / 440.6 MB, free: 4.145 MB / 410.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.0001417/0.01884, allocations: 185.8 kB / 440.8 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.0189, allocations: 67.58 kB / 440.8 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.01918, allocations: 186.8 kB / 441 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01919, allocations: 4 kB / 441 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01919, allocations: 0 / 441 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01919, allocations: 4.094 kB / 441 MB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.01949, allocations: 360.9 kB / 441.4 MB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01949, allocations: 4 kB / 441.4 MB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.718e-05/0.01958, allocations: 31.97 kB / 441.4 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01958, allocations: 0 / 441.4 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.01959, allocations: 4 kB / 441.4 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01959, allocations: 4 kB / 441.4 MB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.0196, allocations: 3.984 kB / 441.4 MB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.01994, allocations: 406.4 kB / 441.8 MB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.02006, allocations: 93.53 kB / 441.9 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.0201, allocations: 4 kB / 441.9 MB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.02026, allocations: 43.94 kB / 441.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.0203, allocations: 7.984 kB / 441.9 MB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.02031, allocations: 7.984 kB / 442 MB, free: 2.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003236/0.02063, allocations: 463 kB / 442.4 MB, free: 2.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02063, allocations: 0 / 442.4 MB, free: 2.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.02089, allocations: 115.6 kB / 442.5 MB, free: 2.125 MB / 410.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.0007808/0.02167, allocations: 381.3 kB / 442.9 MB, free: 1.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.022, allocations: 163.8 kB / 443.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.022, allocations: 0 / 443.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.02213, allocations: 79.88 kB / 443.1 MB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.02261, allocations: 146.7 kB / 443.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.02357, allocations: 0.9197 MB / 444.2 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.02374, allocations: 284.1 kB / 444.5 MB, free: 268 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.02382, allocations: 52.47 kB / 444.5 MB, free: 216 kB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02382, allocations: 0 / 444.5 MB, free: 216 kB / 410.7 MB Notification: Performance of Templates: time 0.1311/0.1549, allocations: 6.857 MB / 451.4 MB, free: 63.52 MB / 410.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.788341005332768] Failed to read output from testmodel.py, exit status != 0: 0.15954694896936417 0.165276625 0.152452276 Calling exit ...