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.0006621/0.0006621, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008995/0.001562, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006801/0.0006801, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001104/0.001784, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9651/0.9651, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07971/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1186/0.1186, allocations: 24.18 MB / 268.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1157/0.2343, allocations: 7.752 MB / 275.9 MB, free: 0.8242 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-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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 277.3 MB, free: 160 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.856e-06/1.012e-05, allocations: 5.812 kB / 277.3 MB, free: 156 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.006523/0.006533, allocations: 6.596 MB / 283.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003906/0.01044, allocations: 2.506 MB / 286.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.01105, allocations: 29.25 kB / 286.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003479/0.01139, allocations: 176.3 kB / 286.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.01181, allocations: 193.7 kB / 286.8 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.01241, allocations: 338.4 kB / 287.2 MB, free: 9.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.01301, allocations: 0.7219 MB / 287.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.01337, allocations: 248.8 kB / 288.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.01408, allocations: 439.3 kB / 288.6 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.01426, allocations: 168.1 kB / 288.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.01432, allocations: 46.97 kB / 288.8 MB, free: 8.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.01446, allocations: 79.42 kB / 288.8 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.01457, allocations: 117.9 kB / 289 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.01468, allocations: 130 kB / 289.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.01513, allocations: 442.6 kB / 289.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.01515, allocations: 0 / 289.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01515, allocations: 0.9062 kB / 289.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.01517, allocations: 0 / 289.5 MB, free: 8.441 MB / 282.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.0009632/0.01613, allocations: 1.025 MB / 290.5 MB, free: 7.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.01616, allocations: 14.11 kB / 290.6 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.01638, allocations: 175.2 kB / 290.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.01677, allocations: 396 kB / 291.1 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.01679, allocations: 33.66 kB / 291.1 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.01683, allocations: 40.88 kB / 291.2 MB, free: 7.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/0.01728, allocations: 0.7044 MB / 291.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.01729, allocations: 1.812 kB / 291.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.01732, allocations: 16.03 kB / 291.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.01733, allocations: 9.984 kB / 291.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.01748, allocations: 84.7 kB / 292 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.01835, allocations: 0.6625 MB / 292.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.0186, allocations: 105.3 kB / 292.8 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.01864, allocations: 26.05 kB / 292.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01866, allocations: 3.062 kB / 292.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.01868, allocations: 39.22 kB / 292.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.01869, allocations: 6.516 kB / 292.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002069/0.01889, allocations: 111.6 kB / 292.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.01893, allocations: 90.16 kB / 293 MB, free: 5.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.01928, allocations: 0.5205 MB / 293.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.0193, allocations: 32.45 kB / 293.6 MB, free: 5.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.01941, allocations: 253.7 kB / 293.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.01943, allocations: 36.44 kB / 293.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.01949, allocations: 52.88 kB / 293.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.01958, allocations: 362.5 kB / 294.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.565e-05/0.01962, allocations: 15.73 kB / 294.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01981, allocations: 465.6 kB / 294.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.56e-05/0.01989, allocations: 66.33 kB / 294.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.0199, allocations: 1.156 kB / 294.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001389/0.02004, allocations: 113 kB / 294.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.02005, allocations: 5.406 kB / 294.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.02005, allocations: 5.25 kB / 294.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.02006, allocations: 1.375 kB / 294.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.02018, allocations: 44.14 kB / 295 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.02019, allocations: 1.25 kB / 295 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.02029, allocations: 29.66 kB / 295 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.0203, allocations: 1.406 kB / 295 MB, free: 4.012 MB / 282.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 9.335e-05/0.0204, allocations: 132.9 kB / 295.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.02045, allocations: 41.14 kB / 295.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.02059, allocations: 116.2 kB / 295.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.02059, allocations: 1.625 kB / 295.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.0206, allocations: 0 / 295.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.0206, allocations: 5.484 kB / 295.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.02087, allocations: 236.8 kB / 295.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.02088, allocations: 0 / 295.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.02096, allocations: 36.53 kB / 295.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.02106, allocations: 81.58 kB / 295.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.02107, allocations: 0 / 295.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.02107, allocations: 1.344 kB / 295.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.02107, allocations: 1.344 kB / 295.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02107, allocations: 5.25 kB / 295.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.02123, allocations: 274.6 kB / 295.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.02126, allocations: 2.812 kB / 295.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.02138, allocations: 27.16 kB / 295.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.02141, allocations: 19.7 kB / 296 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.02142, allocations: 1.406 kB / 296 MB, free: 3.281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.02161, allocations: 264.8 kB / 296.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02161, allocations: 2 kB / 296.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002275/0.02183, allocations: 108.6 kB / 296.3 MB, free: 3.129 MB / 282.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.0009505/0.02278, allocations: 493.2 kB / 296.8 MB, free: 3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.02291, allocations: 61.05 kB / 296.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.02292, allocations: 8 kB / 296.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.02296, allocations: 35.84 kB / 296.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.02338, allocations: 186.7 kB / 297.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.02441, allocations: 0.8558 MB / 298 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.646e-05/0.02449, allocations: 131.4 kB / 298.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.02462, allocations: 59.11 kB / 298.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.02487, allocations: 191.3 kB / 298.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02488, allocations: 1.438 kB / 298.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of Templates: time 0.009797/0.03467, allocations: 7.869 MB / 306.2 MB, free: 10.82 MB / 298.7 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=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8194045620039105]