Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_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.001513/0.001513, allocations: 78.17 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.001374/0.001374, allocations: 157.5 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.346/1.346, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/package.mo): time 0.1604/0.1604, allocations: 24.13 MB / 283.9 MB, free: 8.914 MB / 270.1 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation main/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_dev_BusinessSimulation.Examples.LookupFunctions") translateModel(BusinessSimulation.Examples.LookupFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="BusinessSimulation_dev_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.002095/0.002095, allocations: 67.89 kB / 421.2 MB, free: 13.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1051, allocations: 60.7 MB / 481.9 MB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.1978/0.3029, allocations: 6.434 MB / 488.3 MB, free: 40.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.3056, allocations: 2.359 MB / 490.7 MB, free: 38.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.3059, allocations: 28.81 kB / 490.7 MB, free: 38.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.3063, allocations: 168 kB / 490.9 MB, free: 38.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004303/0.3067, allocations: 197.7 kB / 491.1 MB, free: 38.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.3072, allocations: 335.1 kB / 491.4 MB, free: 38.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.3077, allocations: 0.7203 MB / 492.1 MB, free: 37.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.308, allocations: 239 kB / 492.3 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3082, allocations: 251.7 kB / 492.6 MB, free: 37.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.3084, allocations: 222.7 kB / 492.8 MB, free: 37.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.3084, allocations: 46.34 kB / 492.8 MB, free: 37.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3086, allocations: 81.91 kB / 492.9 MB, free: 37.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3087, allocations: 153.9 kB / 493.1 MB, free: 37.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.3088, allocations: 224.3 kB / 493.3 MB, free: 37.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.3093, allocations: 0.6583 MB / 494 MB, free: 36.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3093, allocations: 0 / 494 MB, free: 36.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3093, allocations: 0 / 494 MB, free: 36.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.3093, allocations: 2.906 kB / 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.001077/0.3104, allocations: 0.9549 MB / 494.9 MB, free: 36.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3104, allocations: 9.844 kB / 494.9 MB, free: 36.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.3106, allocations: 104.2 kB / 495 MB, free: 36.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.3112, allocations: 441.4 kB / 495.5 MB, free: 35.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3112, allocations: 29.41 kB / 495.5 MB, free: 35.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.3112, allocations: 41.16 kB / 495.5 MB, free: 35.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.3119, allocations: 0.8123 MB / 496.3 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3119, allocations: 0 / 496.3 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.3119, allocations: 22.16 kB / 496.4 MB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3119, allocations: 7.438 kB / 496.4 MB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.3125, allocations: 267.2 kB / 496.6 MB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3138, allocations: 0.92 MB / 497.5 MB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.3144, allocations: 170.2 kB / 497.7 MB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.3146, allocations: 83.55 kB / 497.8 MB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3146, allocations: 6.438 kB / 497.8 MB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.3146, allocations: 41.59 kB / 497.8 MB, free: 34.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3146, allocations: 0 / 497.8 MB, free: 34.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007747/0.3154, allocations: 297.8 kB / 498.1 MB, free: 34.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.3155, allocations: 447.4 kB / 498.6 MB, free: 33.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.316, allocations: 0.6465 MB / 499.2 MB, free: 33.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.316, allocations: 28.89 kB / 499.2 MB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3161, allocations: 331.3 kB / 499.6 MB, free: 33.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3162, allocations: 34.05 kB / 499.6 MB, free: 33.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.3162, allocations: 54.91 kB / 499.7 MB, free: 33.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.3163, allocations: 360.8 kB / 0.4883 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.3165, allocations: 75.27 kB / 0.4884 GB, free: 32.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.3168, allocations: 0.5358 MB / 0.4889 GB, free: 32.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.3173, allocations: 154.7 kB / 0.489 GB, free: 32.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3173, allocations: 0 / 0.489 GB, free: 32.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005302/0.3178, allocations: 252 kB / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3178, allocations: 10.25 kB / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3178, allocations: 0 / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3178, allocations: 3.344 kB / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.318, allocations: 37.31 kB / 0.4893 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.318, allocations: 3.938 kB / 0.4893 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.3183, allocations: 50.67 kB / 0.4894 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.3184, allocations: 7.406 kB / 0.4894 GB, free: 31.96 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.0001464/0.3185, allocations: 179 kB / 0.4895 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.3186, allocations: 62.31 kB / 0.4896 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.319, allocations: 191.1 kB / 0.4898 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.319, allocations: 7.031 kB / 0.4898 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.319, allocations: 3.938 kB / 0.4898 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.319, allocations: 0 / 0.4898 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3193, allocations: 356.1 kB / 0.4901 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3194, allocations: 0 / 0.4901 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.3195, allocations: 36.61 kB / 0.4902 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3195, allocations: 0 / 0.4902 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3196, allocations: 3.344 kB / 0.4902 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3196, allocations: 3.938 kB / 0.4902 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3196, allocations: 4 kB / 0.4902 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.3201, allocations: 411.4 kB / 0.4906 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.3202, allocations: 91.94 kB / 0.4907 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.3203, allocations: 6 kB / 0.4907 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.3206, allocations: 42.94 kB / 0.4907 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3207, allocations: 21.84 kB / 0.4907 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3207, allocations: 3.156 kB / 0.4907 GB, free: 31.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003785/0.321, allocations: 463.5 kB / 0.4912 GB, free: 30.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.321, allocations: 0 / 0.4912 GB, free: 30.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.3214, allocations: 105.9 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.001244/0.3227, allocations: 389.1 kB / 0.4916 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005108/0.3232, allocations: 155.7 kB / 0.4918 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3232, allocations: 0 / 0.4918 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.3234, allocations: 88.61 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.0006971/0.3241, allocations: 129.5 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.001058/0.3251, allocations: 0.8881 MB / 0.4929 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.3253, allocations: 292.8 kB / 0.4932 GB, free: 30.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.3255, allocations: 70.09 kB / 0.4932 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.3256, allocations: 47.22 kB / 0.4933 GB, free: 29.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3256, allocations: 0 / 0.4933 GB, free: 29.98 MB / 446.1 MB Notification: Performance of Templates: time 0.01008/0.3357, allocations: 7.265 MB / 0.5004 GB, free: 29.03 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.550203045946546] Failed to read output from testmodel.py, exit status != 0: 0.3433125149458647 0.355079859 0.042173505 Calling exit ...