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.0009956/0.0009956, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002378, allocations: 440 kB / 10.41 MB, free: 284 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.001031/0.001031, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002243, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9365/0.9365, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09966/1.036, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.101/0.101, allocations: 24.14 MB / 268.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1424/0.2434, allocations: 7.761 MB / 276 MB, free: 0.8516 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.924e-06/1.924e-06, allocations: 0.6562 kB / 277.5 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.121e-05, allocations: 5.094 kB / 277.5 MB, free: 88 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.00833/0.008351, allocations: 6.606 MB / 284.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.01236, allocations: 2.517 MB / 286.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.01278, allocations: 34.22 kB / 286.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.01317, allocations: 171.4 kB / 286.8 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.01364, allocations: 202.7 kB / 287 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.01428, allocations: 332.8 kB / 287.4 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.01505, allocations: 0.7168 MB / 288.1 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.01549, allocations: 256.5 kB / 288.3 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008751/0.01636, allocations: 437.7 kB / 288.7 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.01657, allocations: 168.2 kB / 288.9 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.01665, allocations: 43.47 kB / 289 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.01683, allocations: 83.62 kB / 289 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.01696, allocations: 114.2 kB / 289.1 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.01712, allocations: 130.3 kB / 289.3 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.0177, allocations: 438.1 kB / 289.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.01772, allocations: 4 kB / 289.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01772, allocations: 0.5625 kB / 289.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.01773, allocations: 2.875 kB / 289.7 MB, free: 8.285 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.001291/0.01902, allocations: 1.027 MB / 290.7 MB, free: 7.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.01905, allocations: 8.219 kB / 290.7 MB, free: 7.535 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.01936, allocations: 183.6 kB / 290.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.01991, allocations: 391.6 kB / 291.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.01994, allocations: 28.12 kB / 291.3 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.01999, allocations: 40.88 kB / 291.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.02062, allocations: 0.7039 MB / 292.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.02064, allocations: 2.688 kB / 292.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.02067, allocations: 16.12 kB / 292.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.02068, allocations: 11.92 kB / 292.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.02086, allocations: 85.52 kB / 292.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.02197, allocations: 0.6705 MB / 292.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.02232, allocations: 103.9 kB / 293 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.02238, allocations: 28.73 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.0224, allocations: 4.906 kB / 293 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.02243, allocations: 41.88 kB / 293 MB, free: 5.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.02243, allocations: 1.312 kB / 293 MB, free: 5.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002863/0.02272, allocations: 111.1 kB / 293.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.02276, allocations: 85.61 kB / 293.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.02328, allocations: 0.5222 MB / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.02331, allocations: 31.08 kB / 293.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.02347, allocations: 254.2 kB / 294 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.0235, allocations: 46 kB / 294.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.02359, allocations: 51.52 kB / 294.1 MB, free: 4.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.02371, allocations: 365.6 kB / 294.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.803e-05/0.02376, allocations: 13.91 kB / 294.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.02401, allocations: 465.3 kB / 295 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.02414, allocations: 67.64 kB / 295 MB, free: 3.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02414, allocations: 0 / 295 MB, free: 3.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002084/0.02435, allocations: 113 kB / 295.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.02436, allocations: 6.531 kB / 295.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.02437, allocations: 1.062 kB / 295.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.02438, allocations: 1.656 kB / 295.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.02457, allocations: 43.42 kB / 295.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.02457, allocations: 6.312 kB / 295.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.02475, allocations: 32.14 kB / 295.2 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.02477, allocations: 2.781 kB / 295.2 MB, free: 3.848 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 0.0001273/0.02489, allocations: 128.4 kB / 295.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/0.02498, allocations: 41.2 kB / 295.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.02519, allocations: 115.7 kB / 295.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02519, allocations: 5.344 kB / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.0252, allocations: 0 / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.0252, allocations: 1.406 kB / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.02558, allocations: 236.8 kB / 295.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.02558, allocations: 1.125 kB / 295.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.02572, allocations: 38.05 kB / 295.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.02587, allocations: 72.83 kB / 295.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.02588, allocations: 1.375 kB / 295.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.02589, allocations: 1.281 kB / 295.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.02589, allocations: 1.312 kB / 295.8 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02589, allocations: 4 kB / 295.9 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.02612, allocations: 288.3 kB / 296.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.02617, allocations: 3 kB / 296.1 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.02639, allocations: 23.08 kB / 296.2 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.02644, allocations: 10.94 kB / 296.2 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.02645, allocations: 2.344 kB / 296.2 MB, free: 3.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003151/0.02677, allocations: 261.7 kB / 296.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02677, allocations: 0 / 296.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.02714, allocations: 113 kB / 296.5 MB, free: 2.973 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.001372/0.02852, allocations: 482.4 kB / 297 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.0287, allocations: 78.5 kB / 297.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.02871, allocations: 8 kB / 297.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.0288, allocations: 42.06 kB / 297.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.0298, allocations: 1.108 MB / 298.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.03111, allocations: 0.8608 MB / 299.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.03121, allocations: 127.2 kB / 299.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.03141, allocations: 57.16 kB / 299.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.0318, allocations: 187.2 kB / 299.5 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0318, allocations: 0 / 299.5 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of Templates: time 0.01314/0.04495, allocations: 7.514 MB / 307 MB, free: 9.746 MB / 298.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=240 -lv LOG_STATS > BusinessSimulation_BusinessSimulation.Examples.LookupFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.880891367793083]