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.00132/0.00132, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001559/0.001559, allocations: 181 kB / 23.35 MB, free: 1.137 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 1.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.1243/0.1243, allocations: 24.15 MB / 284.4 MB, free: 5.129 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.423e-06/1.423e-06, allocations: 0 / 308.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.463e-05, allocations: 2.969 kB / 308.4 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.005483/0.005497, allocations: 6.547 MB / 314.9 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.008176, allocations: 2.479 MB / 317.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002743/0.00845, allocations: 27.75 kB / 317.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.008777, allocations: 166.9 kB / 317.6 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.009176, allocations: 197.6 kB / 317.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.009601, allocations: 339.8 kB / 318.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.0101, allocations: 0.7419 MB / 318.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.01039, allocations: 246.9 kB / 319.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.01096, allocations: 385.6 kB / 319.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.0111, allocations: 171.3 kB / 319.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.01116, allocations: 40 kB / 319.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.01127, allocations: 87.91 kB / 319.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.0114, allocations: 143.3 kB / 319.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.01153, allocations: 171.3 kB / 320.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.012, allocations: 477.9 kB / 320.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01201, allocations: 0 / 320.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01201, allocations: 0 / 320.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.01201, allocations: 0 / 320.5 MB, free: 12.79 MB / 298.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.0008196/0.01283, allocations: 0.9083 MB / 321.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.01287, allocations: 12.75 kB / 321.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.01305, allocations: 95.84 kB / 321.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.01342, allocations: 397.5 kB / 321.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01344, allocations: 29 kB / 322 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.01348, allocations: 40 kB / 322 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.01397, allocations: 0.7102 MB / 322.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.01398, allocations: 0 / 322.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.014, allocations: 16 kB / 322.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.01402, allocations: 12 kB / 322.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.01414, allocations: 80.48 kB / 322.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000887/0.01503, allocations: 0.6626 MB / 323.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.01529, allocations: 109 kB / 323.6 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.01533, allocations: 25.72 kB / 323.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.01535, allocations: 0 / 323.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.01537, allocations: 38.56 kB / 323.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.81e-07/0.01537, allocations: 0 / 323.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001978/0.01557, allocations: 113.5 kB / 323.8 MB, free: 9.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.01569, allocations: 423.2 kB / 324.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.0161, allocations: 0.5214 MB / 324.7 MB, free: 8.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.01612, allocations: 29.7 kB / 324.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01623, allocations: 253.8 kB / 325 MB, free: 7.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.01625, allocations: 47.62 kB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.01631, allocations: 49.59 kB / 325.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.647e-05/0.0164, allocations: 370.6 kB / 325.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.01644, allocations: 15.98 kB / 325.5 MB, free: 7.492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.01661, allocations: 462.6 kB / 325.9 MB, free: 6.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.01669, allocations: 62.48 kB / 326 MB, free: 6.844 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.0167, allocations: 0 / 326 MB, free: 6.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001339/0.01683, allocations: 109.5 kB / 326.1 MB, free: 6.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01684, allocations: 10.03 kB / 326.1 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01685, allocations: 3.984 kB / 326.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.01686, allocations: 0 / 326.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01696, allocations: 31.92 kB / 326.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01697, allocations: 12.02 kB / 326.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01708, allocations: 27.92 kB / 326.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.01709, allocations: 4 kB / 326.2 MB, free: 6.645 MB / 298.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.0001011/0.01719, allocations: 132.6 kB / 326.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.01724, allocations: 39.95 kB / 326.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.01738, allocations: 115.2 kB / 326.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01738, allocations: 4 kB / 326.5 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.01739, allocations: 4 kB / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01739, allocations: 0 / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.01762, allocations: 241.5 kB / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01762, allocations: 0 / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.01769, allocations: 27.97 kB / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.01769, allocations: 0 / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.0177, allocations: 0 / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.0177, allocations: 0 / 326.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.0177, allocations: 4 kB / 326.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.01786, allocations: 287.4 kB / 327 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.01797, allocations: 86.36 kB / 327.1 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.018, allocations: 4 kB / 327.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.01812, allocations: 23.98 kB / 327.1 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.01816, allocations: 19.95 kB / 327.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01816, allocations: 0 / 327.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.01834, allocations: 259.4 kB / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01834, allocations: 0 / 327.4 MB, free: 5.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.01857, allocations: 111.6 kB / 327.5 MB, free: 5.254 MB / 298.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.0008747/0.01944, allocations: 439.3 kB / 327.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01957, allocations: 72.72 kB / 328 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.01958, allocations: 8 kB / 328 MB, free: 4.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.01963, allocations: 32.78 kB / 328 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.02001, allocations: 145 kB / 328.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.02083, allocations: 0.8315 MB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.433e-05/0.02091, allocations: 121.2 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.02105, allocations: 67.64 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.0213, allocations: 193.2 kB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0213, allocations: 0 / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of Templates: time 0.009877/0.03118, allocations: 7.427 MB / 336.8 MB, free: 12.33 MB / 314.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: 3.0873516015708447]