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.001299/0.001299, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.001376/0.001376, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.324/1.324, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.1641/0.1641, allocations: 24.14 MB / 283.9 MB, free: 8.934 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: BusinessSimulation requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 421.2 MB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09861, allocations: 60.7 MB / 481.9 MB, free: 0.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.1866/0.2852, allocations: 6.442 MB / 488.3 MB, free: 40.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.288, allocations: 2.351 MB / 490.7 MB, free: 38.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003632/0.2884, allocations: 28.47 kB / 490.7 MB, free: 38.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.2887, allocations: 171.1 kB / 490.9 MB, free: 38.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.2892, allocations: 196 kB / 491.1 MB, free: 38.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.2897, allocations: 336.3 kB / 491.4 MB, free: 38.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.2902, allocations: 0.7236 MB / 492.1 MB, free: 37.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.2905, allocations: 236.5 kB / 492.3 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.2907, allocations: 256.5 kB / 492.6 MB, free: 37.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.2909, allocations: 223.4 kB / 492.8 MB, free: 37.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.291, allocations: 48.69 kB / 492.9 MB, free: 37.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.2911, allocations: 86.72 kB / 492.9 MB, free: 37.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2912, allocations: 143.8 kB / 493.1 MB, free: 37.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.2913, allocations: 232.4 kB / 493.3 MB, free: 37.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.2918, allocations: 0.6556 MB / 494 MB, free: 36.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2918, allocations: 0 / 494 MB, free: 36.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2918, allocations: 0 / 494 MB, free: 36.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2919, allocations: 0 / 494 MB, free: 36.99 MB / 446.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.001118/0.293, allocations: 0.9511 MB / 494.9 MB, free: 36.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.293, allocations: 10.31 kB / 494.9 MB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002299/0.2932, allocations: 105.6 kB / 495 MB, free: 36.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.2938, allocations: 443.8 kB / 495.5 MB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.2938, allocations: 29.03 kB / 495.5 MB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2939, allocations: 34.81 kB / 495.5 MB, free: 35.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.2945, allocations: 0.813 MB / 496.3 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2946, allocations: 0 / 496.3 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.2946, allocations: 23.03 kB / 496.4 MB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.2946, allocations: 9.625 kB / 496.4 MB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.2952, allocations: 253.6 kB / 496.6 MB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2964, allocations: 0.9286 MB / 497.5 MB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/0.2971, allocations: 176.3 kB / 497.7 MB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.2973, allocations: 75.83 kB / 497.8 MB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2973, allocations: 7.297 kB / 497.8 MB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.2973, allocations: 37.81 kB / 497.8 MB, free: 34.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.2973, allocations: 0 / 497.8 MB, free: 34.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008045/0.2981, allocations: 298.2 kB / 498.1 MB, free: 34.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.2982, allocations: 453.9 kB / 498.6 MB, free: 33.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.2987, allocations: 0.6411 MB / 499.2 MB, free: 33.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2987, allocations: 32.92 kB / 499.2 MB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2989, allocations: 320.8 kB / 499.6 MB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2989, allocations: 38.36 kB / 499.6 MB, free: 33.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.299, allocations: 59.52 kB / 499.7 MB, free: 33.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.299, allocations: 361 kB / 0.4883 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.2993, allocations: 71.36 kB / 0.4884 GB, free: 32.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.2996, allocations: 0.5437 MB / 0.4889 GB, free: 32.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.3, allocations: 157.9 kB / 0.489 GB, free: 32.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3, allocations: 0 / 0.489 GB, free: 32.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005387/0.3006, allocations: 248.2 kB / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3006, allocations: 8.156 kB / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3006, allocations: 0 / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3006, allocations: 6.906 kB / 0.4893 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3008, allocations: 42.25 kB / 0.4893 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3008, allocations: 7.875 kB / 0.4893 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.3011, allocations: 46.48 kB / 0.4894 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3011, allocations: 2.969 kB / 0.4894 GB, free: 31.95 MB / 446.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.0001496/0.3013, allocations: 175.7 kB / 0.4895 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.3014, allocations: 65.47 kB / 0.4896 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.3018, allocations: 199.1 kB / 0.4898 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3018, allocations: 0 / 0.4898 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3018, allocations: 7.062 kB / 0.4898 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3018, allocations: 0 / 0.4898 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.3021, allocations: 350.6 kB / 0.4901 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3021, allocations: 3.375 kB / 0.4901 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3023, allocations: 37.17 kB / 0.4902 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3023, allocations: 3.125 kB / 0.4902 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3023, allocations: 3.422 kB / 0.4902 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3023, allocations: 96 / 0.4902 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3024, allocations: 7.062 kB / 0.4902 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.3029, allocations: 403.2 kB / 0.4906 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.303, allocations: 95.91 kB / 0.4907 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.3031, allocations: 11.12 kB / 0.4907 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.3034, allocations: 41.8 kB / 0.4907 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.3035, allocations: 10.59 kB / 0.4907 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3035, allocations: 2.781 kB / 0.4907 GB, free: 31.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.3038, allocations: 466.4 kB / 0.4912 GB, free: 30.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3038, allocations: 0 / 0.4912 GB, free: 30.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000363/0.3042, allocations: 105.2 kB / 0.4913 GB, free: 30.89 MB / 446.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.001236/0.3054, allocations: 382.4 kB / 0.4916 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.306, allocations: 168.2 kB / 0.4918 GB, free: 30.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.306, allocations: 0 / 0.4918 GB, free: 30.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.3062, allocations: 76.75 kB / 0.4919 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006943/0.3069, allocations: 146.3 kB / 0.492 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3079, allocations: 0.8875 MB / 0.4929 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.3081, allocations: 293.6 kB / 0.4932 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.3083, allocations: 66.72 kB / 0.4932 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.3084, allocations: 42.66 kB / 0.4933 GB, free: 29.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3084, allocations: 0 / 0.4933 GB, free: 29.98 MB / 446.1 MB Notification: Performance of Templates: time 0.01028/0.3186, allocations: 7.268 MB / 0.5004 GB, free: 29.03 MB / 446.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 -s ida -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.591328095062636] Failed to read output from testmodel.py, exit status != 0: 0.32593807904049754 0.335374547 0.04112011 Calling exit ...