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.0009724/0.0009724, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002314, 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.0006741/0.0006741, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008802/0.001554, 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.9207/0.9207, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07619/0.9969, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.1039/0.1039, allocations: 24.2 MB / 268.3 MB, free: 7.086 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1232/0.2271, allocations: 7.755 MB / 276.1 MB, free: 0.8398 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.623e-06/1.623e-06, allocations: 2.109 kB / 277.5 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/1.01e-05, allocations: 3.438 kB / 277.5 MB, free: 120 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.LookupFunctions): time 0.00531/0.00532, allocations: 6.615 MB / 284.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.008442, allocations: 2.517 MB / 286.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.008922, allocations: 29.88 kB / 286.7 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.009265, allocations: 171 kB / 286.9 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.009678, allocations: 202.8 kB / 287.1 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.01024, allocations: 336.5 kB / 287.4 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006391/0.01088, allocations: 0.7169 MB / 288.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.01126, allocations: 256.6 kB / 288.4 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.01235, allocations: 427.6 kB / 288.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.0126, allocations: 168.7 kB / 288.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.906e-05/0.01268, allocations: 43.44 kB / 289 MB, free: 8.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.01292, allocations: 83.62 kB / 289.1 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.01307, allocations: 114.2 kB / 289.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.01323, allocations: 132.8 kB / 289.3 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.01386, allocations: 437.8 kB / 289.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.01387, allocations: 2.281 kB / 289.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01387, allocations: 0 / 289.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.01389, allocations: 0 / 289.7 MB, free: 8.355 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.001418/0.01531, allocations: 1.029 MB / 290.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.01535, allocations: 10.53 kB / 290.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/0.0157, allocations: 183.2 kB / 291 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.01627, allocations: 397 kB / 291.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.01631, allocations: 29.77 kB / 291.4 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.01636, allocations: 43.06 kB / 291.4 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.01707, allocations: 0.6994 MB / 292.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01709, allocations: 1.375 kB / 292.1 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.01712, allocations: 16.12 kB / 292.1 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.01713, allocations: 9.625 kB / 292.1 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.01732, allocations: 89.14 kB / 292.2 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01847, allocations: 0.6681 MB / 292.9 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.01884, allocations: 113.5 kB / 293 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.01889, allocations: 21.03 kB / 293 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.01891, allocations: 2.906 kB / 293 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.01894, allocations: 42.3 kB / 293.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.01894, allocations: 0 / 293.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003015/0.01925, allocations: 113.8 kB / 293.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.01929, allocations: 80.48 kB / 293.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/0.01986, allocations: 0.5248 MB / 293.8 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.01988, allocations: 30.36 kB / 293.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.02005, allocations: 253.9 kB / 294.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.02009, allocations: 51.62 kB / 294.1 MB, free: 5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.02017, allocations: 48.89 kB / 294.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.0203, allocations: 366.3 kB / 294.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.644e-05/0.02035, allocations: 16.3 kB / 294.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.02059, allocations: 462.2 kB / 295 MB, free: 4.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.552e-05/0.02068, allocations: 58.61 kB / 295 MB, free: 4.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.02068, allocations: 0 / 295 MB, free: 4.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001445/0.02083, allocations: 112.7 kB / 295.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.02084, allocations: 8.891 kB / 295.2 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.02085, allocations: 6.031 kB / 295.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.02086, allocations: 2.344 kB / 295.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.02099, allocations: 40.56 kB / 295.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.02099, allocations: 1.625 kB / 295.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.0211, allocations: 36.42 kB / 295.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.02111, allocations: 1.531 kB / 295.3 MB, free: 3.918 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.821e-05/0.02121, allocations: 141.8 kB / 295.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.02126, allocations: 36.27 kB / 295.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.02141, allocations: 114.9 kB / 295.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.02141, allocations: 3.531 kB / 295.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.02141, allocations: 5.438 kB / 295.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.02142, allocations: 0 / 295.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.02168, allocations: 240.6 kB / 295.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.02168, allocations: 1.406 kB / 295.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.138e-05/0.02176, allocations: 29.75 kB / 295.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.02186, allocations: 76.95 kB / 295.9 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.02186, allocations: 1.125 kB / 295.9 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.02187, allocations: 5.141 kB / 295.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.02187, allocations: 1.344 kB / 295.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02188, allocations: 0.8438 kB / 295.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.02204, allocations: 282.8 kB / 296.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.02207, allocations: 6.656 kB / 296.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.02219, allocations: 23.5 kB / 296.2 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.02223, allocations: 14.66 kB / 296.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.02224, allocations: 1.031 kB / 296.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002143/0.02245, allocations: 266.8 kB / 296.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02245, allocations: 3.938 kB / 296.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.0227, allocations: 103.2 kB / 296.6 MB, free: 3.035 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.0009763/0.02367, allocations: 483.1 kB / 297.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.0238, allocations: 68 kB / 297.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.02381, allocations: 7.156 kB / 297.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.02387, allocations: 44.58 kB / 297.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007124/0.02458, allocations: 1.117 MB / 298.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.02563, allocations: 0.8571 MB / 299.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.149e-05/0.02571, allocations: 122.8 kB / 299.3 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.02584, allocations: 62.52 kB / 299.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.0261, allocations: 191.4 kB / 299.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0261, allocations: 3.938 kB / 299.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of Templates: time 0.008843/0.03495, allocations: 7.516 MB / 307 MB, free: 9.859 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.9464701674878597]