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.001119/0.001119, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001907/0.003027, 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.001008/0.001008, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.002226, 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 1.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1066/1.119, 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/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.1063/0.1063, allocations: 24.14 MB / 268.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1444/0.2507, allocations: 7.76 MB / 275.9 MB, free: 0.8359 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 2.445e-06/2.445e-06, allocations: 0 / 277.3 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.29e-05, allocations: 2.969 kB / 277.3 MB, free: 132 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.01117/0.0112, allocations: 6.592 MB / 283.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.01882, allocations: 2.508 MB / 286.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.0204, allocations: 33.56 kB / 286.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.02091, allocations: 172 kB / 286.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.02152, allocations: 191.1 kB / 286.8 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009259/0.02245, allocations: 345 kB / 287.1 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009566/0.0234, allocations: 0.7168 MB / 287.8 MB, free: 9.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.02394, allocations: 245.9 kB / 288.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.02511, allocations: 438.8 kB / 288.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.02536, allocations: 172.6 kB / 288.7 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.722e-05/0.02545, allocations: 43.78 kB / 288.7 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.02568, allocations: 79.45 kB / 288.8 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.02582, allocations: 116.8 kB / 288.9 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.02598, allocations: 128.3 kB / 289 MB, free: 8.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007161/0.02669, allocations: 442.8 kB / 289.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.196e-05/0.02671, allocations: 0 / 289.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.02672, allocations: 1.281 kB / 289.5 MB, free: 8.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.916e-05/0.02675, allocations: 0 / 289.5 MB, free: 8.406 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.001494/0.02824, allocations: 1.029 MB / 290.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.02828, allocations: 9.844 kB / 290.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.0286, allocations: 182.7 kB / 290.7 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.02913, allocations: 391.1 kB / 291.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.02916, allocations: 28.25 kB / 291.1 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.02922, allocations: 40.12 kB / 291.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.02978, allocations: 0.7054 MB / 291.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.02979, allocations: 0 / 291.8 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.02981, allocations: 18.38 kB / 291.9 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.02982, allocations: 7.812 kB / 291.9 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.02998, allocations: 81.45 kB / 291.9 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.031, allocations: 0.6736 MB / 292.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.03129, allocations: 109.1 kB / 292.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.03133, allocations: 24.72 kB / 292.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.03136, allocations: 2.75 kB / 292.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.03138, allocations: 41.05 kB / 292.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.545e-06/0.03138, allocations: 0 / 292.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000237/0.03162, allocations: 112.7 kB / 292.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.03166, allocations: 79.86 kB / 293 MB, free: 5.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.03206, allocations: 0.5258 MB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.03209, allocations: 28.27 kB / 293.5 MB, free: 5.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.03224, allocations: 255.3 kB / 293.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.03228, allocations: 44.72 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.03236, allocations: 51.86 kB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.03248, allocations: 366.6 kB / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.03252, allocations: 13.86 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.03275, allocations: 465.2 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.03286, allocations: 64.34 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.03286, allocations: 0.625 kB / 294.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001737/0.03303, allocations: 105.2 kB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.03305, allocations: 5.75 kB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.03306, allocations: 5.469 kB / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.03306, allocations: 3.719 kB / 294.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.03323, allocations: 47.36 kB / 294.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.03324, allocations: 1.531 kB / 294.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.03339, allocations: 28.8 kB / 295 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.03341, allocations: 8.031 kB / 295 MB, free: 3.969 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.0001158/0.03352, allocations: 129.1 kB / 295.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.03358, allocations: 35.67 kB / 295.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.03376, allocations: 119.9 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.03376, allocations: 1.984 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.03376, allocations: 1.344 kB / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.03377, allocations: 0 / 295.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.03406, allocations: 236.5 kB / 295.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.03406, allocations: 5.578 kB / 295.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.03416, allocations: 29.84 kB / 295.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.03427, allocations: 78.61 kB / 295.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.03428, allocations: 1.688 kB / 295.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.03429, allocations: 5.625 kB / 295.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.03429, allocations: 5.359 kB / 295.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.03429, allocations: 0 / 295.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.0345, allocations: 279.8 kB / 295.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.03453, allocations: 7.062 kB / 295.9 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.03467, allocations: 18.52 kB / 295.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.0347, allocations: 22.72 kB / 295.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.03471, allocations: 2.469 kB / 295.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.03492, allocations: 262.4 kB / 296.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03492, allocations: 0 / 296.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.03516, allocations: 109.7 kB / 296.3 MB, free: 3.094 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.001059/0.03622, allocations: 489.1 kB / 296.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.03637, allocations: 69.58 kB / 296.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.03639, allocations: 7.688 kB / 296.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.03643, allocations: 28.09 kB / 296.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.03689, allocations: 194.4 kB / 297.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.03808, allocations: 0.8594 MB / 297.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.03818, allocations: 123.5 kB / 298 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.03834, allocations: 57.38 kB / 298.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.03863, allocations: 199.4 kB / 298.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.03863, allocations: 1.469 kB / 298.3 MB, free: 2.016 MB / 282.7 MB Notification: Performance of Templates: time 0.01194/0.05057, allocations: 7.861 MB / 306.2 MB, free: 10.72 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.934474374167621]